Skip to content

Commit

Permalink
feat: backfill integration records
Browse files Browse the repository at this point in the history
  • Loading branch information
JustARatherRidiculouslyLongUsername committed Jan 30, 2025
1 parent 8f9fe42 commit f84275d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/python/003_create_integration_records.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from apps.workspaces.models import Workspace
from apps.workspaces.tasks import post_to_integration_settings

workspaces = Workspace.objects.filter(onboarding_state='COMPLETE')
for workspace in workspaces:
print(workspace.id, workspace.name, sep=' | ')
post_to_integration_settings(workspace.id, True)

0 comments on commit f84275d

Please sign in to comment.