We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a86ca2d commit c1cfc98Copy full SHA for c1cfc98
src/iterative_telemetry/__init__.py
@@ -188,15 +188,15 @@ def _system_info():
188
189
190
def generate_id():
191
- """TODO: check environ for CI-based ID"""
192
- return str(uuid.uuid4())
+ """A randomly generated ID string"""
+ return str(uuid.uuid4()) # TODO: CI env-based ID
193
194
195
@lru_cache(None)
196
def _find_or_create_user_id():
197
"""
198
The user's ID is stored on a file under the global config directory.
199
- The file should contain JSON with a `user_id` key:
+ The file should contain a JSON with a "user_id" key:
200
{"user_id": "16fd2706-8baf-433b-82eb-8c7fada847da"}
201
IDs are generated randomly with UUID4.
202
0 commit comments