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 70cab38 commit cfb06d8Copy full SHA for cfb06d8
src/structurizr/api/structurizr_client.py
@@ -276,10 +276,9 @@ def _create_archive_filename(self) -> Path:
276
277
@staticmethod
278
def _number_once() -> str:
279
- """Return a unique number as a string."""
280
- # The number of microseconds since the epoch.
+ """Return the number of milliseconds since the epoch."""
281
return str(
282
- int((datetime.utcnow() - datetime(1970, 1, 1)) / timedelta(microseconds=1))
+ int((datetime.utcnow() - datetime(1970, 1, 1)) / timedelta(milliseconds=1))
283
)
284
285
0 commit comments