mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-06-27 02:30:08 +00:00
chore: utils update (#3909)
This commit is contained in:
parent
b10379c14c
commit
7ff0ff890d
@ -1,3 +1,11 @@
|
||||
## 0.16.21-dev1
|
||||
|
||||
### Enhancements
|
||||
|
||||
### Features
|
||||
|
||||
### Fixes
|
||||
|
||||
## 0.16.20
|
||||
|
||||
### Enhancements
|
||||
|
@ -257,5 +257,4 @@ Encountered a bug? Please create a new [GitHub issue](https://github.com/Unstruc
|
||||
|
||||
## :chart_with_upwards_trend: Analytics
|
||||
|
||||
We’ve partnered with Scarf (https://scarf.sh) to collect anonymized user statistics to understand which features our community is using and how to prioritize product decision-making in the future. To learn more about how we collect and use this data, please read our [Privacy Policy](https://unstructured.io/privacy-policy).
|
||||
To opt out of this data collection, you can set the environment variable `SCARF_NO_ANALYTICS=true` before running any `unstructured` commands.
|
||||
This library includes a very lightweight analytics "ping" when the library is loaded, however you can opt out of this data collection by setting the environment variable `DO_NOT_TRACK=true` before executing any `unstructured` code. To learn more about how we collect and use this data, please read our [Privacy Policy](https://unstructured.io/privacy-policy).
|
||||
|
@ -1 +1 @@
|
||||
__version__ = "0.16.20" # pragma: no cover
|
||||
__version__ = "0.16.21-dev1" # pragma: no cover
|
||||
|
@ -294,20 +294,6 @@ def scarf_analytics():
|
||||
+ "&dev=true",
|
||||
timeout=10,
|
||||
)
|
||||
requests.get(
|
||||
"https://packages2.unstructured.io/python-telemetry?version="
|
||||
+ __version__
|
||||
+ "&platform="
|
||||
+ platform.system()
|
||||
+ "&python"
|
||||
+ python_version
|
||||
+ "&arch="
|
||||
+ platform.machine()
|
||||
+ "&gpu="
|
||||
+ str(gpu_present)
|
||||
+ "&dev=true",
|
||||
timeout=10,
|
||||
)
|
||||
else:
|
||||
requests.get(
|
||||
"https://packages.unstructured.io/python-telemetry?version="
|
||||
@ -323,20 +309,6 @@ def scarf_analytics():
|
||||
+ "&dev=false",
|
||||
timeout=10,
|
||||
)
|
||||
requests.get(
|
||||
"https://packages2.unstructured.io/python-telemetry?version="
|
||||
+ __version__
|
||||
+ "&platform="
|
||||
+ platform.system()
|
||||
+ "&python"
|
||||
+ python_version
|
||||
+ "&arch="
|
||||
+ platform.machine()
|
||||
+ "&gpu="
|
||||
+ str(gpu_present)
|
||||
+ "&dev=false",
|
||||
timeout=10,
|
||||
)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user