:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(batch-exports): move management commands into product folder (#61739)
Rosse7193be676a7
diff --git a/posthog/management/commands/backfill_batch_export_runs.py b/products/batch_exports/backend/management/commands/backfill_batch_export_runs.pysimilarity index 100%rename from posthog/management/commands/backfill_batch_export_runs.pyrename to products/batch_exports/backend/management/commands/backfill_batch_export_runs.pydiff --git a/posthog/management/commands/update_batch_export_schedules.py b/products/batch_exports/backend/management/commands/update_batch_export_schedules.pysimilarity index 100%rename from posthog/management/commands/update_batch_export_schedules.pyrename to products/batch_exports/backend/management/commands/update_batch_export_schedules.pydiff --git a/posthog/management/commands/test/test_backfill_batch_export_runs.py b/products/batch_exports/backend/tests/management/test_backfill_batch_export_runs.pysimilarity index 99%rename from posthog/management/commands/test/test_backfill_batch_export_runs.pyrename to products/batch_exports/backend/tests/management/test_backfill_batch_export_runs.pyindex c42ce9a12264..6454f9ae176d 100644--- a/posthog/management/commands/test/test_backfill_batch_export_runs.py+++ b/products/batch_exports/backend/tests/management/test_backfill_batch_export_runs.py@@ -14,12 +14,15 @@ from django.utils import timezonefrom asgiref.sync import async_to_syncfrom temporalio.service import RPCError-from posthog.management.commands.backfill_batch_export_runs import find_missing_intervals, get_batch_exportsfrom posthog.models import Organization, Teamfrom posthog.temporal.common.client import sync_connectfrom posthog.temporal.common.test_utils import start_test_workerfrom posthog.temporal.tests.utils.models import create_batch_export+from products.batch_exports.backend.management.commands.backfill_batch_export_runs import (+ find_missing_intervals,+ get_batch_exports,+)from products.batch_exports.backend.models.batch_export import BatchExport, BatchExportDestination, BatchExportRunfrom products.batch_exports.backend.temporal import ACTIVITIES, WORKFLOWSfrom products.batch_exports.backend.tests.temporal.backfills.conftest import wait_for_workflowsdiff --git a/posthog/management/commands/test/test_update_batch_export_schedules.py b/products/batch_exports/backend/tests/management/test_update_batch_export_schedules.pysimilarity index 100%rename from posthog/management/commands/test/test_update_batch_export_schedules.pyrename to products/batch_exports/backend/tests/management/test_update_batch_export_schedules.py