diff --git a/python/buf.gen.yaml b/python/buf.gen.yaml index 61672f8d..2a643909 100644 --- a/python/buf.gen.yaml +++ b/python/buf.gen.yaml @@ -3,8 +3,8 @@ managed: enabled: true plugins: - plugin: buf.build/grpc/python:v1.62.1 - out: gen + out: sift/gen - plugin: buf.build/protocolbuffers/python - out: gen + out: sift/gen - plugin: buf.build/protocolbuffers/pyi:v26.1 - out: gen + out: sift/gen diff --git a/python/setup.py b/python/setup.py index 29b288a5..6aa99a26 100644 --- a/python/setup.py +++ b/python/setup.py @@ -9,6 +9,6 @@ "grpcio", "protobuf", ], - packages=find_packages('gen'), - package_dir={'': 'gen'}, + packages=find_packages('sift'), + package_dir={'': 'sift'}, ) diff --git a/python/gen/__init__.py b/python/sift/__init__.py similarity index 100% rename from python/gen/__init__.py rename to python/sift/__init__.py diff --git a/python/gen/google/__init__.py b/python/sift/gen/__init__.py similarity index 100% rename from python/gen/google/__init__.py rename to python/sift/gen/__init__.py diff --git a/python/gen/google/api/__init__.py b/python/sift/gen/google/__init__.py similarity index 100% rename from python/gen/google/api/__init__.py rename to python/sift/gen/google/__init__.py diff --git a/python/gen/protoc_gen_openapiv2/__init__.py b/python/sift/gen/google/api/__init__.py similarity index 100% rename from python/gen/protoc_gen_openapiv2/__init__.py rename to python/sift/gen/google/api/__init__.py diff --git a/python/gen/google/api/annotations_pb2.py b/python/sift/gen/google/api/annotations_pb2.py similarity index 100% rename from python/gen/google/api/annotations_pb2.py rename to python/sift/gen/google/api/annotations_pb2.py diff --git a/python/gen/google/api/annotations_pb2.pyi b/python/sift/gen/google/api/annotations_pb2.pyi similarity index 100% rename from python/gen/google/api/annotations_pb2.pyi rename to python/sift/gen/google/api/annotations_pb2.pyi diff --git a/python/gen/google/api/annotations_pb2_grpc.py b/python/sift/gen/google/api/annotations_pb2_grpc.py similarity index 100% rename from python/gen/google/api/annotations_pb2_grpc.py rename to python/sift/gen/google/api/annotations_pb2_grpc.py diff --git a/python/gen/google/api/field_behavior_pb2.py b/python/sift/gen/google/api/field_behavior_pb2.py similarity index 100% rename from python/gen/google/api/field_behavior_pb2.py rename to python/sift/gen/google/api/field_behavior_pb2.py diff --git a/python/gen/google/api/field_behavior_pb2.pyi b/python/sift/gen/google/api/field_behavior_pb2.pyi similarity index 100% rename from python/gen/google/api/field_behavior_pb2.pyi rename to python/sift/gen/google/api/field_behavior_pb2.pyi diff --git a/python/gen/google/api/field_behavior_pb2_grpc.py b/python/sift/gen/google/api/field_behavior_pb2_grpc.py similarity index 100% rename from python/gen/google/api/field_behavior_pb2_grpc.py rename to python/sift/gen/google/api/field_behavior_pb2_grpc.py diff --git a/python/gen/google/api/http_pb2.py b/python/sift/gen/google/api/http_pb2.py similarity index 100% rename from python/gen/google/api/http_pb2.py rename to python/sift/gen/google/api/http_pb2.py diff --git a/python/gen/google/api/http_pb2.pyi b/python/sift/gen/google/api/http_pb2.pyi similarity index 100% rename from python/gen/google/api/http_pb2.pyi rename to python/sift/gen/google/api/http_pb2.pyi diff --git a/python/gen/google/api/http_pb2_grpc.py b/python/sift/gen/google/api/http_pb2_grpc.py similarity index 100% rename from python/gen/google/api/http_pb2_grpc.py rename to python/sift/gen/google/api/http_pb2_grpc.py diff --git a/python/gen/protoc_gen_openapiv2/options/__init__.py b/python/sift/gen/protoc_gen_openapiv2/__init__.py similarity index 100% rename from python/gen/protoc_gen_openapiv2/options/__init__.py rename to python/sift/gen/protoc_gen_openapiv2/__init__.py diff --git a/python/gen/sift/__init__.py b/python/sift/gen/protoc_gen_openapiv2/options/__init__.py similarity index 100% rename from python/gen/sift/__init__.py rename to python/sift/gen/protoc_gen_openapiv2/options/__init__.py diff --git a/python/gen/protoc_gen_openapiv2/options/annotations_pb2.py b/python/sift/gen/protoc_gen_openapiv2/options/annotations_pb2.py similarity index 100% rename from python/gen/protoc_gen_openapiv2/options/annotations_pb2.py rename to python/sift/gen/protoc_gen_openapiv2/options/annotations_pb2.py diff --git a/python/gen/protoc_gen_openapiv2/options/annotations_pb2.pyi b/python/sift/gen/protoc_gen_openapiv2/options/annotations_pb2.pyi similarity index 100% rename from python/gen/protoc_gen_openapiv2/options/annotations_pb2.pyi rename to python/sift/gen/protoc_gen_openapiv2/options/annotations_pb2.pyi diff --git a/python/gen/protoc_gen_openapiv2/options/annotations_pb2_grpc.py b/python/sift/gen/protoc_gen_openapiv2/options/annotations_pb2_grpc.py similarity index 100% rename from python/gen/protoc_gen_openapiv2/options/annotations_pb2_grpc.py rename to python/sift/gen/protoc_gen_openapiv2/options/annotations_pb2_grpc.py diff --git a/python/gen/protoc_gen_openapiv2/options/openapiv2_pb2.py b/python/sift/gen/protoc_gen_openapiv2/options/openapiv2_pb2.py similarity index 100% rename from python/gen/protoc_gen_openapiv2/options/openapiv2_pb2.py rename to python/sift/gen/protoc_gen_openapiv2/options/openapiv2_pb2.py diff --git a/python/gen/protoc_gen_openapiv2/options/openapiv2_pb2.pyi b/python/sift/gen/protoc_gen_openapiv2/options/openapiv2_pb2.pyi similarity index 100% rename from python/gen/protoc_gen_openapiv2/options/openapiv2_pb2.pyi rename to python/sift/gen/protoc_gen_openapiv2/options/openapiv2_pb2.pyi diff --git a/python/gen/protoc_gen_openapiv2/options/openapiv2_pb2_grpc.py b/python/sift/gen/protoc_gen_openapiv2/options/openapiv2_pb2_grpc.py similarity index 100% rename from python/gen/protoc_gen_openapiv2/options/openapiv2_pb2_grpc.py rename to python/sift/gen/protoc_gen_openapiv2/options/openapiv2_pb2_grpc.py diff --git a/python/gen/sift/annotation_logs/__init__.py b/python/sift/gen/sift/__init__.py similarity index 100% rename from python/gen/sift/annotation_logs/__init__.py rename to python/sift/gen/sift/__init__.py diff --git a/python/gen/sift/annotation_logs/v1/__init__.py b/python/sift/gen/sift/annotation_logs/__init__.py similarity index 100% rename from python/gen/sift/annotation_logs/v1/__init__.py rename to python/sift/gen/sift/annotation_logs/__init__.py diff --git a/python/gen/sift/annotations/__init__.py b/python/sift/gen/sift/annotation_logs/v1/__init__.py similarity index 100% rename from python/gen/sift/annotations/__init__.py rename to python/sift/gen/sift/annotation_logs/v1/__init__.py diff --git a/python/gen/sift/annotation_logs/v1/annotation_logs_pb2.py b/python/sift/gen/sift/annotation_logs/v1/annotation_logs_pb2.py similarity index 100% rename from python/gen/sift/annotation_logs/v1/annotation_logs_pb2.py rename to python/sift/gen/sift/annotation_logs/v1/annotation_logs_pb2.py diff --git a/python/gen/sift/annotation_logs/v1/annotation_logs_pb2.pyi b/python/sift/gen/sift/annotation_logs/v1/annotation_logs_pb2.pyi similarity index 100% rename from python/gen/sift/annotation_logs/v1/annotation_logs_pb2.pyi rename to python/sift/gen/sift/annotation_logs/v1/annotation_logs_pb2.pyi diff --git a/python/gen/sift/annotation_logs/v1/annotation_logs_pb2_grpc.py b/python/sift/gen/sift/annotation_logs/v1/annotation_logs_pb2_grpc.py similarity index 100% rename from python/gen/sift/annotation_logs/v1/annotation_logs_pb2_grpc.py rename to python/sift/gen/sift/annotation_logs/v1/annotation_logs_pb2_grpc.py diff --git a/python/gen/sift/annotations/v1/__init__.py b/python/sift/gen/sift/annotations/__init__.py similarity index 100% rename from python/gen/sift/annotations/v1/__init__.py rename to python/sift/gen/sift/annotations/__init__.py diff --git a/python/gen/sift/assets/__init__.py b/python/sift/gen/sift/annotations/v1/__init__.py similarity index 100% rename from python/gen/sift/assets/__init__.py rename to python/sift/gen/sift/annotations/v1/__init__.py diff --git a/python/gen/sift/annotations/v1/annotations_pb2.py b/python/sift/gen/sift/annotations/v1/annotations_pb2.py similarity index 100% rename from python/gen/sift/annotations/v1/annotations_pb2.py rename to python/sift/gen/sift/annotations/v1/annotations_pb2.py diff --git a/python/gen/sift/annotations/v1/annotations_pb2.pyi b/python/sift/gen/sift/annotations/v1/annotations_pb2.pyi similarity index 100% rename from python/gen/sift/annotations/v1/annotations_pb2.pyi rename to python/sift/gen/sift/annotations/v1/annotations_pb2.pyi diff --git a/python/gen/sift/annotations/v1/annotations_pb2_grpc.py b/python/sift/gen/sift/annotations/v1/annotations_pb2_grpc.py similarity index 100% rename from python/gen/sift/annotations/v1/annotations_pb2_grpc.py rename to python/sift/gen/sift/annotations/v1/annotations_pb2_grpc.py diff --git a/python/gen/sift/assets/v1/__init__.py b/python/sift/gen/sift/assets/__init__.py similarity index 100% rename from python/gen/sift/assets/v1/__init__.py rename to python/sift/gen/sift/assets/__init__.py diff --git a/python/gen/sift/calculated_channels/__init__.py b/python/sift/gen/sift/assets/v1/__init__.py similarity index 100% rename from python/gen/sift/calculated_channels/__init__.py rename to python/sift/gen/sift/assets/v1/__init__.py diff --git a/python/gen/sift/assets/v1/assets_pb2.py b/python/sift/gen/sift/assets/v1/assets_pb2.py similarity index 100% rename from python/gen/sift/assets/v1/assets_pb2.py rename to python/sift/gen/sift/assets/v1/assets_pb2.py diff --git a/python/gen/sift/assets/v1/assets_pb2.pyi b/python/sift/gen/sift/assets/v1/assets_pb2.pyi similarity index 100% rename from python/gen/sift/assets/v1/assets_pb2.pyi rename to python/sift/gen/sift/assets/v1/assets_pb2.pyi diff --git a/python/gen/sift/assets/v1/assets_pb2_grpc.py b/python/sift/gen/sift/assets/v1/assets_pb2_grpc.py similarity index 100% rename from python/gen/sift/assets/v1/assets_pb2_grpc.py rename to python/sift/gen/sift/assets/v1/assets_pb2_grpc.py diff --git a/python/gen/sift/calculated_channels/v1/__init__.py b/python/sift/gen/sift/calculated_channels/__init__.py similarity index 100% rename from python/gen/sift/calculated_channels/v1/__init__.py rename to python/sift/gen/sift/calculated_channels/__init__.py diff --git a/python/gen/sift/channel_schemas/__init__.py b/python/sift/gen/sift/calculated_channels/v1/__init__.py similarity index 100% rename from python/gen/sift/channel_schemas/__init__.py rename to python/sift/gen/sift/calculated_channels/v1/__init__.py diff --git a/python/gen/sift/calculated_channels/v1/calculated_channels_pb2.py b/python/sift/gen/sift/calculated_channels/v1/calculated_channels_pb2.py similarity index 100% rename from python/gen/sift/calculated_channels/v1/calculated_channels_pb2.py rename to python/sift/gen/sift/calculated_channels/v1/calculated_channels_pb2.py diff --git a/python/gen/sift/calculated_channels/v1/calculated_channels_pb2.pyi b/python/sift/gen/sift/calculated_channels/v1/calculated_channels_pb2.pyi similarity index 100% rename from python/gen/sift/calculated_channels/v1/calculated_channels_pb2.pyi rename to python/sift/gen/sift/calculated_channels/v1/calculated_channels_pb2.pyi diff --git a/python/gen/sift/calculated_channels/v1/calculated_channels_pb2_grpc.py b/python/sift/gen/sift/calculated_channels/v1/calculated_channels_pb2_grpc.py similarity index 100% rename from python/gen/sift/calculated_channels/v1/calculated_channels_pb2_grpc.py rename to python/sift/gen/sift/calculated_channels/v1/calculated_channels_pb2_grpc.py diff --git a/python/gen/sift/channel_schemas/v1/__init__.py b/python/sift/gen/sift/channel_schemas/__init__.py similarity index 100% rename from python/gen/sift/channel_schemas/v1/__init__.py rename to python/sift/gen/sift/channel_schemas/__init__.py diff --git a/python/gen/sift/channels/__init__.py b/python/sift/gen/sift/channel_schemas/v1/__init__.py similarity index 100% rename from python/gen/sift/channels/__init__.py rename to python/sift/gen/sift/channel_schemas/v1/__init__.py diff --git a/python/gen/sift/channel_schemas/v1/channel_schemas_pb2.py b/python/sift/gen/sift/channel_schemas/v1/channel_schemas_pb2.py similarity index 100% rename from python/gen/sift/channel_schemas/v1/channel_schemas_pb2.py rename to python/sift/gen/sift/channel_schemas/v1/channel_schemas_pb2.py diff --git a/python/gen/sift/channel_schemas/v1/channel_schemas_pb2.pyi b/python/sift/gen/sift/channel_schemas/v1/channel_schemas_pb2.pyi similarity index 100% rename from python/gen/sift/channel_schemas/v1/channel_schemas_pb2.pyi rename to python/sift/gen/sift/channel_schemas/v1/channel_schemas_pb2.pyi diff --git a/python/gen/sift/channel_schemas/v1/channel_schemas_pb2_grpc.py b/python/sift/gen/sift/channel_schemas/v1/channel_schemas_pb2_grpc.py similarity index 100% rename from python/gen/sift/channel_schemas/v1/channel_schemas_pb2_grpc.py rename to python/sift/gen/sift/channel_schemas/v1/channel_schemas_pb2_grpc.py diff --git a/python/gen/sift/channels/v2/__init__.py b/python/sift/gen/sift/channels/__init__.py similarity index 100% rename from python/gen/sift/channels/v2/__init__.py rename to python/sift/gen/sift/channels/__init__.py diff --git a/python/gen/sift/common/__init__.py b/python/sift/gen/sift/channels/v2/__init__.py similarity index 100% rename from python/gen/sift/common/__init__.py rename to python/sift/gen/sift/channels/v2/__init__.py diff --git a/python/gen/sift/channels/v2/channels_pb2.py b/python/sift/gen/sift/channels/v2/channels_pb2.py similarity index 100% rename from python/gen/sift/channels/v2/channels_pb2.py rename to python/sift/gen/sift/channels/v2/channels_pb2.py diff --git a/python/gen/sift/channels/v2/channels_pb2.pyi b/python/sift/gen/sift/channels/v2/channels_pb2.pyi similarity index 100% rename from python/gen/sift/channels/v2/channels_pb2.pyi rename to python/sift/gen/sift/channels/v2/channels_pb2.pyi diff --git a/python/gen/sift/channels/v2/channels_pb2_grpc.py b/python/sift/gen/sift/channels/v2/channels_pb2_grpc.py similarity index 100% rename from python/gen/sift/channels/v2/channels_pb2_grpc.py rename to python/sift/gen/sift/channels/v2/channels_pb2_grpc.py diff --git a/python/gen/sift/common/type/__init__.py b/python/sift/gen/sift/common/__init__.py similarity index 100% rename from python/gen/sift/common/type/__init__.py rename to python/sift/gen/sift/common/__init__.py diff --git a/python/gen/sift/common/type/v1/__init__.py b/python/sift/gen/sift/common/type/__init__.py similarity index 100% rename from python/gen/sift/common/type/v1/__init__.py rename to python/sift/gen/sift/common/type/__init__.py diff --git a/python/gen/sift/data/__init__.py b/python/sift/gen/sift/common/type/v1/__init__.py similarity index 100% rename from python/gen/sift/data/__init__.py rename to python/sift/gen/sift/common/type/v1/__init__.py diff --git a/python/gen/sift/common/type/v1/channel_bit_field_element_pb2.py b/python/sift/gen/sift/common/type/v1/channel_bit_field_element_pb2.py similarity index 100% rename from python/gen/sift/common/type/v1/channel_bit_field_element_pb2.py rename to python/sift/gen/sift/common/type/v1/channel_bit_field_element_pb2.py diff --git a/python/gen/sift/common/type/v1/channel_bit_field_element_pb2.pyi b/python/sift/gen/sift/common/type/v1/channel_bit_field_element_pb2.pyi similarity index 100% rename from python/gen/sift/common/type/v1/channel_bit_field_element_pb2.pyi rename to python/sift/gen/sift/common/type/v1/channel_bit_field_element_pb2.pyi diff --git a/python/gen/sift/common/type/v1/channel_bit_field_element_pb2_grpc.py b/python/sift/gen/sift/common/type/v1/channel_bit_field_element_pb2_grpc.py similarity index 100% rename from python/gen/sift/common/type/v1/channel_bit_field_element_pb2_grpc.py rename to python/sift/gen/sift/common/type/v1/channel_bit_field_element_pb2_grpc.py diff --git a/python/gen/sift/common/type/v1/channel_data_type_pb2.py b/python/sift/gen/sift/common/type/v1/channel_data_type_pb2.py similarity index 100% rename from python/gen/sift/common/type/v1/channel_data_type_pb2.py rename to python/sift/gen/sift/common/type/v1/channel_data_type_pb2.py diff --git a/python/gen/sift/common/type/v1/channel_data_type_pb2.pyi b/python/sift/gen/sift/common/type/v1/channel_data_type_pb2.pyi similarity index 100% rename from python/gen/sift/common/type/v1/channel_data_type_pb2.pyi rename to python/sift/gen/sift/common/type/v1/channel_data_type_pb2.pyi diff --git a/python/gen/sift/common/type/v1/channel_data_type_pb2_grpc.py b/python/sift/gen/sift/common/type/v1/channel_data_type_pb2_grpc.py similarity index 100% rename from python/gen/sift/common/type/v1/channel_data_type_pb2_grpc.py rename to python/sift/gen/sift/common/type/v1/channel_data_type_pb2_grpc.py diff --git a/python/gen/sift/common/type/v1/channel_enum_type_pb2.py b/python/sift/gen/sift/common/type/v1/channel_enum_type_pb2.py similarity index 100% rename from python/gen/sift/common/type/v1/channel_enum_type_pb2.py rename to python/sift/gen/sift/common/type/v1/channel_enum_type_pb2.py diff --git a/python/gen/sift/common/type/v1/channel_enum_type_pb2.pyi b/python/sift/gen/sift/common/type/v1/channel_enum_type_pb2.pyi similarity index 100% rename from python/gen/sift/common/type/v1/channel_enum_type_pb2.pyi rename to python/sift/gen/sift/common/type/v1/channel_enum_type_pb2.pyi diff --git a/python/gen/sift/common/type/v1/channel_enum_type_pb2_grpc.py b/python/sift/gen/sift/common/type/v1/channel_enum_type_pb2_grpc.py similarity index 100% rename from python/gen/sift/common/type/v1/channel_enum_type_pb2_grpc.py rename to python/sift/gen/sift/common/type/v1/channel_enum_type_pb2_grpc.py diff --git a/python/gen/sift/common/type/v1/organization_pb2.py b/python/sift/gen/sift/common/type/v1/organization_pb2.py similarity index 100% rename from python/gen/sift/common/type/v1/organization_pb2.py rename to python/sift/gen/sift/common/type/v1/organization_pb2.py diff --git a/python/gen/sift/common/type/v1/organization_pb2.pyi b/python/sift/gen/sift/common/type/v1/organization_pb2.pyi similarity index 100% rename from python/gen/sift/common/type/v1/organization_pb2.pyi rename to python/sift/gen/sift/common/type/v1/organization_pb2.pyi diff --git a/python/gen/sift/common/type/v1/organization_pb2_grpc.py b/python/sift/gen/sift/common/type/v1/organization_pb2_grpc.py similarity index 100% rename from python/gen/sift/common/type/v1/organization_pb2_grpc.py rename to python/sift/gen/sift/common/type/v1/organization_pb2_grpc.py diff --git a/python/gen/sift/common/type/v1/user_pb2.py b/python/sift/gen/sift/common/type/v1/user_pb2.py similarity index 100% rename from python/gen/sift/common/type/v1/user_pb2.py rename to python/sift/gen/sift/common/type/v1/user_pb2.py diff --git a/python/gen/sift/common/type/v1/user_pb2.pyi b/python/sift/gen/sift/common/type/v1/user_pb2.pyi similarity index 100% rename from python/gen/sift/common/type/v1/user_pb2.pyi rename to python/sift/gen/sift/common/type/v1/user_pb2.pyi diff --git a/python/gen/sift/common/type/v1/user_pb2_grpc.py b/python/sift/gen/sift/common/type/v1/user_pb2_grpc.py similarity index 100% rename from python/gen/sift/common/type/v1/user_pb2_grpc.py rename to python/sift/gen/sift/common/type/v1/user_pb2_grpc.py diff --git a/python/gen/sift/data/v1/__init__.py b/python/sift/gen/sift/data/__init__.py similarity index 100% rename from python/gen/sift/data/v1/__init__.py rename to python/sift/gen/sift/data/__init__.py diff --git a/python/gen/sift/ingest/__init__.py b/python/sift/gen/sift/data/v1/__init__.py similarity index 100% rename from python/gen/sift/ingest/__init__.py rename to python/sift/gen/sift/data/v1/__init__.py diff --git a/python/gen/sift/data/v1/data_pb2.py b/python/sift/gen/sift/data/v1/data_pb2.py similarity index 100% rename from python/gen/sift/data/v1/data_pb2.py rename to python/sift/gen/sift/data/v1/data_pb2.py diff --git a/python/gen/sift/data/v1/data_pb2.pyi b/python/sift/gen/sift/data/v1/data_pb2.pyi similarity index 100% rename from python/gen/sift/data/v1/data_pb2.pyi rename to python/sift/gen/sift/data/v1/data_pb2.pyi diff --git a/python/gen/sift/data/v1/data_pb2_grpc.py b/python/sift/gen/sift/data/v1/data_pb2_grpc.py similarity index 100% rename from python/gen/sift/data/v1/data_pb2_grpc.py rename to python/sift/gen/sift/data/v1/data_pb2_grpc.py diff --git a/python/gen/sift/ingest/v1/__init__.py b/python/sift/gen/sift/ingest/__init__.py similarity index 100% rename from python/gen/sift/ingest/v1/__init__.py rename to python/sift/gen/sift/ingest/__init__.py diff --git a/python/gen/sift/ingestion_configs/__init__.py b/python/sift/gen/sift/ingest/v1/__init__.py similarity index 100% rename from python/gen/sift/ingestion_configs/__init__.py rename to python/sift/gen/sift/ingest/v1/__init__.py diff --git a/python/gen/sift/ingest/v1/ingest_pb2.py b/python/sift/gen/sift/ingest/v1/ingest_pb2.py similarity index 100% rename from python/gen/sift/ingest/v1/ingest_pb2.py rename to python/sift/gen/sift/ingest/v1/ingest_pb2.py diff --git a/python/gen/sift/ingest/v1/ingest_pb2.pyi b/python/sift/gen/sift/ingest/v1/ingest_pb2.pyi similarity index 100% rename from python/gen/sift/ingest/v1/ingest_pb2.pyi rename to python/sift/gen/sift/ingest/v1/ingest_pb2.pyi diff --git a/python/gen/sift/ingest/v1/ingest_pb2_grpc.py b/python/sift/gen/sift/ingest/v1/ingest_pb2_grpc.py similarity index 100% rename from python/gen/sift/ingest/v1/ingest_pb2_grpc.py rename to python/sift/gen/sift/ingest/v1/ingest_pb2_grpc.py diff --git a/python/gen/sift/ingestion_configs/v1/__init__.py b/python/sift/gen/sift/ingestion_configs/__init__.py similarity index 100% rename from python/gen/sift/ingestion_configs/v1/__init__.py rename to python/sift/gen/sift/ingestion_configs/__init__.py diff --git a/python/gen/sift/notifications/__init__.py b/python/sift/gen/sift/ingestion_configs/v1/__init__.py similarity index 100% rename from python/gen/sift/notifications/__init__.py rename to python/sift/gen/sift/ingestion_configs/v1/__init__.py diff --git a/python/gen/sift/ingestion_configs/v1/ingestion_configs_pb2.py b/python/sift/gen/sift/ingestion_configs/v1/ingestion_configs_pb2.py similarity index 100% rename from python/gen/sift/ingestion_configs/v1/ingestion_configs_pb2.py rename to python/sift/gen/sift/ingestion_configs/v1/ingestion_configs_pb2.py diff --git a/python/gen/sift/ingestion_configs/v1/ingestion_configs_pb2.pyi b/python/sift/gen/sift/ingestion_configs/v1/ingestion_configs_pb2.pyi similarity index 100% rename from python/gen/sift/ingestion_configs/v1/ingestion_configs_pb2.pyi rename to python/sift/gen/sift/ingestion_configs/v1/ingestion_configs_pb2.pyi diff --git a/python/gen/sift/ingestion_configs/v1/ingestion_configs_pb2_grpc.py b/python/sift/gen/sift/ingestion_configs/v1/ingestion_configs_pb2_grpc.py similarity index 100% rename from python/gen/sift/ingestion_configs/v1/ingestion_configs_pb2_grpc.py rename to python/sift/gen/sift/ingestion_configs/v1/ingestion_configs_pb2_grpc.py diff --git a/python/gen/sift/notifications/v1/__init__.py b/python/sift/gen/sift/notifications/__init__.py similarity index 100% rename from python/gen/sift/notifications/v1/__init__.py rename to python/sift/gen/sift/notifications/__init__.py diff --git a/python/gen/sift/rules/__init__.py b/python/sift/gen/sift/notifications/v1/__init__.py similarity index 100% rename from python/gen/sift/rules/__init__.py rename to python/sift/gen/sift/notifications/v1/__init__.py diff --git a/python/gen/sift/notifications/v1/notifications_pb2.py b/python/sift/gen/sift/notifications/v1/notifications_pb2.py similarity index 100% rename from python/gen/sift/notifications/v1/notifications_pb2.py rename to python/sift/gen/sift/notifications/v1/notifications_pb2.py diff --git a/python/gen/sift/notifications/v1/notifications_pb2.pyi b/python/sift/gen/sift/notifications/v1/notifications_pb2.pyi similarity index 100% rename from python/gen/sift/notifications/v1/notifications_pb2.pyi rename to python/sift/gen/sift/notifications/v1/notifications_pb2.pyi diff --git a/python/gen/sift/notifications/v1/notifications_pb2_grpc.py b/python/sift/gen/sift/notifications/v1/notifications_pb2_grpc.py similarity index 100% rename from python/gen/sift/notifications/v1/notifications_pb2_grpc.py rename to python/sift/gen/sift/notifications/v1/notifications_pb2_grpc.py diff --git a/python/gen/sift/rules/v1/__init__.py b/python/sift/gen/sift/rules/__init__.py similarity index 100% rename from python/gen/sift/rules/v1/__init__.py rename to python/sift/gen/sift/rules/__init__.py diff --git a/python/gen/sift/runs/__init__.py b/python/sift/gen/sift/rules/v1/__init__.py similarity index 100% rename from python/gen/sift/runs/__init__.py rename to python/sift/gen/sift/rules/v1/__init__.py diff --git a/python/gen/sift/rules/v1/rules_pb2.py b/python/sift/gen/sift/rules/v1/rules_pb2.py similarity index 100% rename from python/gen/sift/rules/v1/rules_pb2.py rename to python/sift/gen/sift/rules/v1/rules_pb2.py diff --git a/python/gen/sift/rules/v1/rules_pb2.pyi b/python/sift/gen/sift/rules/v1/rules_pb2.pyi similarity index 100% rename from python/gen/sift/rules/v1/rules_pb2.pyi rename to python/sift/gen/sift/rules/v1/rules_pb2.pyi diff --git a/python/gen/sift/rules/v1/rules_pb2_grpc.py b/python/sift/gen/sift/rules/v1/rules_pb2_grpc.py similarity index 100% rename from python/gen/sift/rules/v1/rules_pb2_grpc.py rename to python/sift/gen/sift/rules/v1/rules_pb2_grpc.py diff --git a/python/gen/sift/runs/v2/__init__.py b/python/sift/gen/sift/runs/__init__.py similarity index 100% rename from python/gen/sift/runs/v2/__init__.py rename to python/sift/gen/sift/runs/__init__.py diff --git a/python/gen/sift/tags/__init__.py b/python/sift/gen/sift/runs/v2/__init__.py similarity index 100% rename from python/gen/sift/tags/__init__.py rename to python/sift/gen/sift/runs/v2/__init__.py diff --git a/python/gen/sift/runs/v2/runs_pb2.py b/python/sift/gen/sift/runs/v2/runs_pb2.py similarity index 100% rename from python/gen/sift/runs/v2/runs_pb2.py rename to python/sift/gen/sift/runs/v2/runs_pb2.py diff --git a/python/gen/sift/runs/v2/runs_pb2.pyi b/python/sift/gen/sift/runs/v2/runs_pb2.pyi similarity index 100% rename from python/gen/sift/runs/v2/runs_pb2.pyi rename to python/sift/gen/sift/runs/v2/runs_pb2.pyi diff --git a/python/gen/sift/runs/v2/runs_pb2_grpc.py b/python/sift/gen/sift/runs/v2/runs_pb2_grpc.py similarity index 100% rename from python/gen/sift/runs/v2/runs_pb2_grpc.py rename to python/sift/gen/sift/runs/v2/runs_pb2_grpc.py diff --git a/python/gen/sift/tags/v1/__init__.py b/python/sift/gen/sift/tags/__init__.py similarity index 100% rename from python/gen/sift/tags/v1/__init__.py rename to python/sift/gen/sift/tags/__init__.py diff --git a/python/gen/sift/users/__init__.py b/python/sift/gen/sift/tags/v1/__init__.py similarity index 100% rename from python/gen/sift/users/__init__.py rename to python/sift/gen/sift/tags/v1/__init__.py diff --git a/python/gen/sift/tags/v1/tags_pb2.py b/python/sift/gen/sift/tags/v1/tags_pb2.py similarity index 100% rename from python/gen/sift/tags/v1/tags_pb2.py rename to python/sift/gen/sift/tags/v1/tags_pb2.py diff --git a/python/gen/sift/tags/v1/tags_pb2.pyi b/python/sift/gen/sift/tags/v1/tags_pb2.pyi similarity index 100% rename from python/gen/sift/tags/v1/tags_pb2.pyi rename to python/sift/gen/sift/tags/v1/tags_pb2.pyi diff --git a/python/gen/sift/tags/v1/tags_pb2_grpc.py b/python/sift/gen/sift/tags/v1/tags_pb2_grpc.py similarity index 100% rename from python/gen/sift/tags/v1/tags_pb2_grpc.py rename to python/sift/gen/sift/tags/v1/tags_pb2_grpc.py diff --git a/python/gen/sift/users/v2/__init__.py b/python/sift/gen/sift/users/__init__.py similarity index 100% rename from python/gen/sift/users/v2/__init__.py rename to python/sift/gen/sift/users/__init__.py diff --git a/python/sift/gen/sift/users/v2/__init__.py b/python/sift/gen/sift/users/v2/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/python/gen/sift/users/v2/users_pb2.py b/python/sift/gen/sift/users/v2/users_pb2.py similarity index 100% rename from python/gen/sift/users/v2/users_pb2.py rename to python/sift/gen/sift/users/v2/users_pb2.py diff --git a/python/gen/sift/users/v2/users_pb2.pyi b/python/sift/gen/sift/users/v2/users_pb2.pyi similarity index 100% rename from python/gen/sift/users/v2/users_pb2.pyi rename to python/sift/gen/sift/users/v2/users_pb2.pyi diff --git a/python/gen/sift/users/v2/users_pb2_grpc.py b/python/sift/gen/sift/users/v2/users_pb2_grpc.py similarity index 100% rename from python/gen/sift/users/v2/users_pb2_grpc.py rename to python/sift/gen/sift/users/v2/users_pb2_grpc.py diff --git a/scripts/gen.sh b/scripts/gen.sh index 30abfe71..affc5b6f 100755 --- a/scripts/gen.sh +++ b/scripts/gen.sh @@ -13,7 +13,7 @@ SUPPORTED_LANGS=(go python rust) TMP_DIR="tmp" BUF_CONF="protos/buf.yaml" OUTPUT_PROTOS="${TMP_DIR}/protos" -PYTHON_GEN_DIR="python/gen" +PYTHON_GEN_DIR="python/sift" USAGE=$(cat<