UUIDs¶
Overview¶
This page outlines our guidelines for handling UUIDs in task scripts.
Guidelines¶
Always use the
task_script_utilsuuid.uuidfunction to generate UUIDs
Note: this function generates UUIDv7 values, which are lexicographically sortable and time-based, but not deterministic. The mock_uuid_generator fixture from ts-lib-pytest needs to be used to make the output deterministic in tests.