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 3a8d225 commit 6dd63c7Copy full SHA for 6dd63c7
functions-python/tasks_executor/src/tasks/licenses/populate_licenses.py
@@ -18,10 +18,9 @@
18
# 4. Supports a 'dry_run' mode, which simulates the process and logs intended
19
# actions without committing any changes to the database.
20
# 5. Includes error handling for network issues and database transactions.
21
-from datetime import datetime
22
import logging
+from datetime import datetime, timezone
23
24
-from pytz import timezone
25
import requests
26
from shared.database.database import with_db_session
27
from shared.database_gen.sqlacodegen_models import License, Rule
0 commit comments