strique-proto-schema 32.1.3__tar.gz → 32.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/MANIFEST.in +1 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/PKG-INFO +2 -1
- strique_proto_schema-32.1.4/__init__.py +351 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/pyproject.toml +9 -3
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/strique_proto_schema.egg-info/PKG-INFO +2 -1
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/strique_proto_schema.egg-info/requires.txt +1 -0
- strique_proto_schema-32.1.3/__init__.py +0 -170
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/README.md +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/setup.cfg +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/ai/catalog/enhance_product.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/ai/reporting/summary.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/authz/policy.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/authz/policy.textproto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/authz/store_policy.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/authz/store_policy.textproto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/clientid/client_id.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/countries/countries.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/countries/countries.textproto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/countries/country.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/countries/country_short_code.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/currencies/currency.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/datasource/data_source.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/datetime/day_of_week.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/datetime/hour.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/gender/gender.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/screentype/ScreenType.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/ui/chart_orientation.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/ui/render_type.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/ui/sorting_direction.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/amazon_ads/amazon_ads.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/amazon_ads/trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/amazon_seller/amazon_seller_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/amazon_seller/order.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/amazon_seller/product.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/amazon_seller/trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/analytics/bulk_product_update_from_analytics.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/analytics/gmc/gmc_analytics.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/analytics/gmc/gmc_analytics_price.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/analytics/google_ads/google_ads_analytics.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/analytics/google_analytics/google_analytics_report.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/analytics/meta/meta_analytics.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/analytics/product_set/product_set.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/activity_request.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/automatedruleset/automated_rule_set_db.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/catalog_enums.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/certification.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/collection.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/media_url.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/product.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/product_errors.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/product_id_for_delete.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/product_sets_request.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/product_variant.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/sales_channel.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/shipping.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/update_feed_product.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/uploaded_product.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/variant_options.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/xmlfeed/get_products_for_sync.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/xmlfeed/item.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/catalog/xmlfeed/xml_feed.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_ads/ad_group_ad.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_ads/advertising_channel_type.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_ads/asset_group_product_group_view.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_ads/campaign.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_ads/default_stats.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_ads/google_ads_status.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_ads/top_performing_keywords.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_ads/trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_ads/video_views.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/age_bracket.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/age_group_gender_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/best_performing_day_of_the_week.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/event_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/funnel_analytics.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/new_vs_returning_users.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/sessions_by_device_category.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/speed_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/time_wise_bifurcation.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/top_browsers.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/top_landing_pages_by_sessions.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/top_performing_cities.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/top_performing_regions.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/top_selling_products_category.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/google_analytics/users_by_source_and_medium.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/magento/abandoned_cart.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/magento/line_item.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/magento/orders.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/magento/trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/meta/meta_ads.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/meta/meta_ads_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/meta/meta_ads_thumbnail_url.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/meta/trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/platform/get_platform_request.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/platform/platform.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/platform/platform_list_for_goal_type.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/platform/platform_list_for_goal_type.textproto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/platform/platform_list_for_product_type.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/platform/platform_list_for_product_type.textproto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/platform/platform_response.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/platform/platform_type.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/schedule/channel_type.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/schedule/date_range_type.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/schedule/frequency_type.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/schedule/get_schedule_request.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/schedule/recipient.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/schedule/schedule.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/shopify/channelwise_coupon_code.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/shopify/channelwise_returning_product.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/shopify/channelwise_returning_region.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/shopify/line_item.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/shopify/line_item_tax_line_item.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/shopify/orders.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/shopify/refund.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/shopify/refund_line_item.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/shopify/shopify_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/shopify/source_wise_bifurcation.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/shopify/tax_line.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/shopify/trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/store/goal_type.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/store/plan_details.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/store/store.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/survey/survey_question_repository.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/survey/survey_response.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/tiktok/tiktok_ads.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/tiktok/trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/user/user.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/user_store_mapping/user_store_mapping.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/demo/demo.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/hello/hello.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/options/strique_enum_options.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/report/download/report_download_request.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/report/download/report_download_response.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/report/report_request.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/report/report_response.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/report/share/report_share_request.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/send/send_request.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/send/template/template_type.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/currency/currency.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/amazon/amazon_auth_token.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/amazon/amazonads/amazon_ads.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/amazon/amazonads/amazon_ads_campaign_response.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/amazon/amazonseller/amazon_seller.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/amazon/amazonseller/amazon_seller_products_response.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/analytics/meta/meta_product_insights.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/catalog/pubsub/pub_sub_message_for_shopify.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/catalog/shopify/shopify_collections_catalog.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/catalog/shopify/shopify_graphql_error.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/catalog/shopify/shopify_products_catalog.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/magento/magento_abandoned_cart.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/magento/magento_orders.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/meta/meta_ads.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/meta/meta_ads_debug_token.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/meta/meta_ads_error.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/meta/meta_status.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/onedrive/OneDriveResponse.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/shopify/shopify_graphql_orders.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/shopify/shopify_graphql_scopes.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/shopify/shopify_orders.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/shopify/shopify_scopes.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/shopify/shopify_source_name_response.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/shorturl/short_url.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/tiktok/tiktok_data.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/dto/tiktok/tiktok_status.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/filter_predicate/filters.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/generic_config_composite_key/generic_config_composite_key.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/generic_marketing_composite_key/generic_marketing_composite_key.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/generic_marketing_composite_key/generic_marketing_composite_key_v2.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/google_analytics_response/google_analytics_response.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/media/media.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/types/phone_number/phone_number.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/view_config/view_config_request.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/view_config/view_config_response.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/account_list.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/amazon_ads/amazonads_trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/amazon_ads/sponsored_brands_campaigns.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/amazon_ads/sponsored_products_campaigns.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/amazon_ads/sponsored_products_keywords.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/amazon_seller/amazonseller_trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/amazon_seller/top_cities_cancellations.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/amazon_seller/top_performing_cities.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/amazon_seller/top_performing_products.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/amazon_seller/top_performing_regions.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/amazon_seller/top_returned_products.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/analytics/get_product_analytics_request.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/analytics/product_analytics.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/catalog/automated_rule_removecutsize_filter.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/catalog/automated_rule_seo_title.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/catalog/automated_rule_set_conditions.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/catalog/automated_rule_type.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/catalog/get_all_products_request.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/catalog/get_feed_quality.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/catalog/manage_products.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/ad_quality.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/google_ads_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/google_ads_trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/leadgen/display_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/leadgen/google_ads_leadgen_trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/leadgen/google_ads_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/leadgen/search_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/leadgen/top_keyword_performance.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/performance_max_listing_group.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/performance_max_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/search_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/shopping_listing_group.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/shopping_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/top_performing_keywords.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/video_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_ads/video_views.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/age_group_and_gender_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/best_performing_days_of_the_week.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/google_analytics_trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/leadgen/age_group_and_gender_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/leadgen/best_performing_days_of_the_week.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/leadgen/event_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/leadgen/google_analytics_leadgen_trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/leadgen/new_vs_returning_users.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/leadgen/sessions_by_device_category.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/leadgen/time_wise_bifurcation.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/leadgen/top_browsers.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/leadgen/top_landing_pages_by_sessions.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/leadgen/top_performing_cities.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/leadgen/top_performing_regions.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/leadgen/users_by_source_and_medium.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/new_vs_returning_users.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/sessions_by_device_category.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/speed_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/time_wise_bifurcation.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/top_browsers.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/top_landing_pages_by_sessions.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/top_performing_categories.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/top_performing_cities.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/top_performing_products.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/top_performing_regions.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/google_analytics/users_by_source_and_medium.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/magento/abandoned_cart_analysis_by_city.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/magento/abandoned_cart_analysis_by_date.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/magento/abandoned_cart_analysis_by_region.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/magento/magento_trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/magento/sales_by_payment_method.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/magento/time_wise_bifurcation.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/magento/top_performing_city.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/magento/top_performing_products.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/magento/top_performing_regions.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/meta/leadgen/meta_ads.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/meta/leadgen/meta_ads_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/meta/leadgen/meta_ads_trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/meta/leadgen/meta_adsets.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/meta/leadgen/meta_campaigns.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/meta/meta_ads.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/meta/meta_ads_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/meta/meta_ads_trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/meta/meta_adsets.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/meta/meta_campaigns.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/scorecard.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/shopify/channelwise_top_coupon_codes.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/shopify/channelwise_top_regions_returns_and_cancellations.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/shopify/channelwise_top_returned_products.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/shopify/sales_by_source.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/shopify/shopify_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/shopify/shopify_trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/shopify/top_cities_returns_and_cancellations.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/shopify/top_coupon_codes.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/shopify/top_regions_returns_and_cancellations.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/shopify/top_returned_products.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/strique_custom/blended_ad_revenue.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/strique_custom/blended_ad_spend.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/strique_custom/leadgen/blended_ad_spend.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/table_column_static_config.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/tiktok/leadgen/tiktok_adgroup.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/tiktok/leadgen/tiktok_ads.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/tiktok/leadgen/tiktok_ads_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/tiktok/leadgen/tiktok_campaigns.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/tiktok/leadgen/titktok_ads_trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/tiktok/tiktok_adgroup.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/tiktok/tiktok_ads.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/tiktok/tiktok_ads_overview.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/tiktok/tiktok_ads_trend_analysis.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/tiktok/tiktok_campaigns.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/user_dashboard/store_list.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/user_dashboard/user_dashboard_request.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/widget.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/widget_bank.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/widget/widget_types.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/workflow/platform/platform_input.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/workflow/platform/platform_input_record.proto +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/strique_proto_schema.egg-info/SOURCES.txt +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/strique_proto_schema.egg-info/dependency_links.txt +0 -0
- {strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/strique_proto_schema.egg-info/top_level.txt +0 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: strique-proto-schema
|
|
3
|
-
Version: 32.1.
|
|
3
|
+
Version: 32.1.4
|
|
4
4
|
Summary: API contracts and Data Transfer Objects (DTO) in the form of Protocol Buffers for Strique binaries.
|
|
5
5
|
Requires-Python: >=3.7
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
Requires-Dist: requests
|
|
8
8
|
Requires-Dist: grpcio
|
|
9
9
|
Requires-Dist: grpcio-tools
|
|
10
|
+
Requires-Dist: mypy-protobuf
|
|
10
11
|
|
|
11
12
|
# Strique Proto Schema
|
|
12
13
|
API contracts and Data Transfer Objects(DTO) in the form of Protocol Buffers for Strique binaries.
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import subprocess
|
|
3
|
+
from setuptools.command.build_py import build_py
|
|
4
|
+
from setuptools.command.egg_info import egg_info
|
|
5
|
+
from setuptools.command.install import install
|
|
6
|
+
import logging
|
|
7
|
+
import re
|
|
8
|
+
|
|
9
|
+
# Set up logging
|
|
10
|
+
logging.basicConfig(
|
|
11
|
+
level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s"
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
proto_src_dir = "src/protos"
|
|
15
|
+
proto_dest_dir = "strique_proto_schema"
|
|
16
|
+
prefix = "strique_proto_schema."
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# Function to get all valid proto modules
|
|
20
|
+
def get_valid_proto_modules(proto_src_dir):
|
|
21
|
+
"""Get all valid proto modules that should be prefixed with strique_proto_schema."""
|
|
22
|
+
logging.info(f"Getting valid proto modules from {proto_src_dir}")
|
|
23
|
+
valid_modules = set()
|
|
24
|
+
|
|
25
|
+
try:
|
|
26
|
+
for root, _, files in os.walk(proto_src_dir):
|
|
27
|
+
for file in files:
|
|
28
|
+
if file.endswith(".proto"):
|
|
29
|
+
# Convert file path to module path
|
|
30
|
+
relative_path = os.path.relpath(
|
|
31
|
+
os.path.join(root, file), proto_src_dir
|
|
32
|
+
)
|
|
33
|
+
module_path = os.path.splitext(relative_path)[0].replace(
|
|
34
|
+
os.path.sep, "."
|
|
35
|
+
)
|
|
36
|
+
valid_modules.add(module_path)
|
|
37
|
+
|
|
38
|
+
logging.info(f"Found {len(valid_modules)} valid proto modules")
|
|
39
|
+
return valid_modules
|
|
40
|
+
except Exception as e:
|
|
41
|
+
logging.error(f"Error getting valid proto modules: {e}")
|
|
42
|
+
raise
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
# Function to fix imports in a single .py file
|
|
46
|
+
def fix_imports_in_file(file_path, prefix):
|
|
47
|
+
logging.debug(f"Fixing imports in file: {file_path}")
|
|
48
|
+
try:
|
|
49
|
+
with open(file_path, "r") as file:
|
|
50
|
+
contents = file.read()
|
|
51
|
+
|
|
52
|
+
# Find the section between _sym_db and DESCRIPTOR
|
|
53
|
+
pattern = re.compile(
|
|
54
|
+
r"(_sym_db = _symbol_database.Default\(\)\n)(.*?)(\nDESCRIPTOR = _descriptor_pool.Default\(\).AddSerializedFile)",
|
|
55
|
+
re.DOTALL,
|
|
56
|
+
)
|
|
57
|
+
match = pattern.search(contents)
|
|
58
|
+
if match:
|
|
59
|
+
imports_section = match.group(2)
|
|
60
|
+
|
|
61
|
+
# Use regular expressions to replace the import statements in the matched section
|
|
62
|
+
# Ignore imports that start with 'google'
|
|
63
|
+
def replace_import(match):
|
|
64
|
+
module = match.group(1)
|
|
65
|
+
if module.startswith("google"):
|
|
66
|
+
return match.group(0)
|
|
67
|
+
return f"from {prefix}{module} import {match.group(2)}"
|
|
68
|
+
|
|
69
|
+
modified_imports_section = re.sub(
|
|
70
|
+
r"from (\S+) import (\S+)", replace_import, imports_section
|
|
71
|
+
)
|
|
72
|
+
# Replace the original imports section with the modified one
|
|
73
|
+
contents = contents.replace(imports_section, modified_imports_section)
|
|
74
|
+
logging.debug(f"Updated imports in {file_path}")
|
|
75
|
+
else:
|
|
76
|
+
logging.warning(f"No import section found in {file_path}")
|
|
77
|
+
|
|
78
|
+
with open(file_path, "w") as file:
|
|
79
|
+
file.write(contents)
|
|
80
|
+
except Exception as e:
|
|
81
|
+
logging.error(f"Error fixing imports in {file_path}: {e}")
|
|
82
|
+
raise
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
# Function to fix imports in a single .pyi file
|
|
86
|
+
def fix_imports_in_pyi_file(file_path, prefix, valid_modules):
|
|
87
|
+
"""Fix imports in .pyi files by prefixing all valid proto modules."""
|
|
88
|
+
logging.debug(f"Fixing imports in .pyi file: {file_path}")
|
|
89
|
+
try:
|
|
90
|
+
with open(file_path, "r") as file:
|
|
91
|
+
contents = file.read()
|
|
92
|
+
|
|
93
|
+
# Process each valid module
|
|
94
|
+
for module in valid_modules:
|
|
95
|
+
# Escape dots in module name for regex
|
|
96
|
+
escaped_module = re.escape(module)
|
|
97
|
+
|
|
98
|
+
# Single comprehensive pattern that handles all cases
|
|
99
|
+
# Matches module names that are not already prefixed
|
|
100
|
+
contents = re.sub(
|
|
101
|
+
rf"(?<!{re.escape(prefix)})\b{escaped_module}(_pb2)?\b",
|
|
102
|
+
f"{prefix}{module}\\1",
|
|
103
|
+
contents,
|
|
104
|
+
)
|
|
105
|
+
|
|
106
|
+
with open(file_path, "w") as file:
|
|
107
|
+
file.write(contents)
|
|
108
|
+
logging.debug(f"Updated .pyi imports in {file_path}")
|
|
109
|
+
except Exception as e:
|
|
110
|
+
logging.error(f"Error fixing imports in .pyi file {file_path}: {e}")
|
|
111
|
+
raise
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def compile_protos():
|
|
115
|
+
print("Compiling proto files...")
|
|
116
|
+
logging.info("Starting compile_protos()")
|
|
117
|
+
|
|
118
|
+
try:
|
|
119
|
+
proto_files = []
|
|
120
|
+
for root, _, files in os.walk(proto_src_dir):
|
|
121
|
+
for file in files:
|
|
122
|
+
if file.endswith(".proto"):
|
|
123
|
+
proto_files.append(os.path.join(root, file))
|
|
124
|
+
|
|
125
|
+
logging.info(f"Found {len(proto_files)} proto files to compile")
|
|
126
|
+
|
|
127
|
+
# Compile all the proto files in one shot
|
|
128
|
+
try:
|
|
129
|
+
print(f"Compiling {len(proto_files)} proto files...")
|
|
130
|
+
subprocess.check_call(
|
|
131
|
+
[
|
|
132
|
+
"python3",
|
|
133
|
+
"-m",
|
|
134
|
+
"grpc_tools.protoc",
|
|
135
|
+
f"--proto_path={proto_src_dir}",
|
|
136
|
+
f"--python_out={proto_dest_dir}",
|
|
137
|
+
# Generate .pyi stubs for IDE/mypy type hints
|
|
138
|
+
f"--mypy_out={proto_dest_dir}",
|
|
139
|
+
*proto_files,
|
|
140
|
+
]
|
|
141
|
+
)
|
|
142
|
+
print("Successfully compiled all proto files")
|
|
143
|
+
logging.info("Proto compilation completed successfully")
|
|
144
|
+
except subprocess.CalledProcessError as e:
|
|
145
|
+
logging.error(f"Failed to compile proto files: {e}")
|
|
146
|
+
raise
|
|
147
|
+
|
|
148
|
+
# Verify and log stub generation
|
|
149
|
+
stub_count = 0
|
|
150
|
+
for root, _, files in os.walk(proto_dest_dir):
|
|
151
|
+
for file in files:
|
|
152
|
+
if file.endswith(".pyi"):
|
|
153
|
+
stub_count += 1
|
|
154
|
+
logging.debug(f"Generated stub: {os.path.join(root, file)}")
|
|
155
|
+
logging.info(f"Generated {stub_count} .pyi stub files")
|
|
156
|
+
|
|
157
|
+
# Update __init__.py
|
|
158
|
+
logging.info("Updating __init__.py file")
|
|
159
|
+
init_file = os.path.join(proto_dest_dir, "__init__.py")
|
|
160
|
+
with open(init_file, "w") as f:
|
|
161
|
+
for root, _, files in os.walk(proto_dest_dir):
|
|
162
|
+
for file in files:
|
|
163
|
+
if file.endswith(("_pb2.py")):
|
|
164
|
+
module_name = os.path.splitext(file)[0]
|
|
165
|
+
relative_path = os.path.relpath(root, proto_dest_dir).replace(
|
|
166
|
+
os.path.sep, "."
|
|
167
|
+
)
|
|
168
|
+
if relative_path == ".":
|
|
169
|
+
f.write(f"from .{module_name} import *\n")
|
|
170
|
+
else:
|
|
171
|
+
f.write(f"from .{relative_path}.{module_name} import *\n")
|
|
172
|
+
logging.info("__init__.py file updated successfully")
|
|
173
|
+
|
|
174
|
+
# Get valid proto modules for .pyi file processing
|
|
175
|
+
valid_modules = get_valid_proto_modules(proto_src_dir)
|
|
176
|
+
|
|
177
|
+
# Iterate over the files in the proto directory and fix imports
|
|
178
|
+
logging.info("Fixing imports in generated files")
|
|
179
|
+
py_files_processed = 0
|
|
180
|
+
pyi_files_processed = 0
|
|
181
|
+
for root, _, files in os.walk(proto_dest_dir):
|
|
182
|
+
for file in files:
|
|
183
|
+
if file.endswith(".py") and file != "__init__.py":
|
|
184
|
+
file_path = os.path.join(root, file)
|
|
185
|
+
fix_imports_in_file(file_path, prefix)
|
|
186
|
+
py_files_processed += 1
|
|
187
|
+
elif file.endswith(".pyi"):
|
|
188
|
+
file_path = os.path.join(root, file)
|
|
189
|
+
fix_imports_in_pyi_file(file_path, prefix, valid_modules)
|
|
190
|
+
pyi_files_processed += 1
|
|
191
|
+
|
|
192
|
+
logging.info(
|
|
193
|
+
f"Processed {py_files_processed} .py files and {pyi_files_processed} .pyi files"
|
|
194
|
+
)
|
|
195
|
+
logging.info("Finished compile_protos()")
|
|
196
|
+
|
|
197
|
+
except Exception as e:
|
|
198
|
+
logging.error(f"Error in compile_protos(): {e}")
|
|
199
|
+
raise
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
def compile_textproto():
|
|
203
|
+
"""
|
|
204
|
+
Process textproto files to binary_pb files.
|
|
205
|
+
"""
|
|
206
|
+
logging.info("Starting compile_textproto()")
|
|
207
|
+
print("Processing textproto files...")
|
|
208
|
+
|
|
209
|
+
try:
|
|
210
|
+
textproto_files = []
|
|
211
|
+
for root, _, files in os.walk(proto_src_dir):
|
|
212
|
+
for file in files:
|
|
213
|
+
if file.endswith(".textproto"):
|
|
214
|
+
textproto_files.append(os.path.join(root, file))
|
|
215
|
+
|
|
216
|
+
logging.info(f"Found {len(textproto_files)} textproto files to process")
|
|
217
|
+
|
|
218
|
+
processed_count = 0
|
|
219
|
+
skipped_count = 0
|
|
220
|
+
error_count = 0
|
|
221
|
+
|
|
222
|
+
for textproto_file_path in textproto_files:
|
|
223
|
+
try:
|
|
224
|
+
with open(textproto_file_path, "r") as f:
|
|
225
|
+
first_line = f.readline().strip()
|
|
226
|
+
second_line = f.readline().strip()
|
|
227
|
+
|
|
228
|
+
if not first_line.startswith("#") or not second_line.startswith("#"):
|
|
229
|
+
logging.warning(
|
|
230
|
+
f"SKIPPING: Invalid format in {textproto_file_path}"
|
|
231
|
+
)
|
|
232
|
+
skipped_count += 1
|
|
233
|
+
continue
|
|
234
|
+
|
|
235
|
+
logging.info(
|
|
236
|
+
f"Generating binary file from textproto file for {textproto_file_path}"
|
|
237
|
+
)
|
|
238
|
+
|
|
239
|
+
proto_file_path = first_line.replace("# proto-file: ", "")
|
|
240
|
+
message_name = second_line.replace("# proto-message: ", "")
|
|
241
|
+
|
|
242
|
+
proto_file_path = f"./{proto_file_path}"
|
|
243
|
+
|
|
244
|
+
with open(proto_file_path, "r") as f:
|
|
245
|
+
content = f.read()
|
|
246
|
+
package = re.search(r"^package\s+([^;]+);", content, re.MULTILINE)
|
|
247
|
+
if package:
|
|
248
|
+
package = package.group(1)
|
|
249
|
+
else:
|
|
250
|
+
logging.error(
|
|
251
|
+
f"ERROR: Could not find package in {proto_file_path}"
|
|
252
|
+
)
|
|
253
|
+
error_count += 1
|
|
254
|
+
continue
|
|
255
|
+
|
|
256
|
+
proto_message_name = f"{package}.{message_name}"
|
|
257
|
+
|
|
258
|
+
binary_file_path = textproto_file_path.replace(
|
|
259
|
+
".textproto", ".binary_pb"
|
|
260
|
+
)
|
|
261
|
+
binary_file_path = binary_file_path.replace(
|
|
262
|
+
proto_src_dir, proto_dest_dir
|
|
263
|
+
)
|
|
264
|
+
|
|
265
|
+
os.makedirs(os.path.dirname(binary_file_path), exist_ok=True)
|
|
266
|
+
|
|
267
|
+
try:
|
|
268
|
+
logging.info(f"Generating binary file for {textproto_file_path}...")
|
|
269
|
+
with open(textproto_file_path, "rb") as input_file, open(
|
|
270
|
+
binary_file_path, "wb"
|
|
271
|
+
) as output_file:
|
|
272
|
+
subprocess.run(
|
|
273
|
+
[
|
|
274
|
+
"python3",
|
|
275
|
+
"-m",
|
|
276
|
+
"grpc_tools.protoc",
|
|
277
|
+
f"--proto_path={proto_src_dir}",
|
|
278
|
+
f"--encode={proto_message_name}",
|
|
279
|
+
proto_file_path,
|
|
280
|
+
],
|
|
281
|
+
input=input_file.read(),
|
|
282
|
+
stdout=output_file,
|
|
283
|
+
check=True,
|
|
284
|
+
)
|
|
285
|
+
logging.info(f"SUCCESS: Binary file at path {binary_file_path}")
|
|
286
|
+
processed_count += 1
|
|
287
|
+
except subprocess.CalledProcessError as e:
|
|
288
|
+
logging.error(
|
|
289
|
+
f"ERROR: Failed to generate binary file for {textproto_file_path}: {e}"
|
|
290
|
+
)
|
|
291
|
+
error_count += 1
|
|
292
|
+
except Exception as e:
|
|
293
|
+
logging.error(f"Error processing {textproto_file_path}: {e}")
|
|
294
|
+
error_count += 1
|
|
295
|
+
|
|
296
|
+
logging.info(
|
|
297
|
+
f"Textproto processing completed: {processed_count} processed, {skipped_count} skipped, {error_count} errors"
|
|
298
|
+
)
|
|
299
|
+
logging.info("Finished compile_textproto()")
|
|
300
|
+
|
|
301
|
+
except Exception as e:
|
|
302
|
+
logging.error(f"Error in compile_textproto(): {e}")
|
|
303
|
+
raise
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
class StriqueBuildCommand(build_py):
|
|
307
|
+
def run(self):
|
|
308
|
+
logging.info("Starting StriqueBuildCommand.run()")
|
|
309
|
+
try:
|
|
310
|
+
compile_protos()
|
|
311
|
+
compile_textproto()
|
|
312
|
+
super().run()
|
|
313
|
+
logging.info("StriqueBuildCommand completed successfully")
|
|
314
|
+
except Exception as e:
|
|
315
|
+
logging.error(f"Error in StriqueBuildCommand.run(): {e}")
|
|
316
|
+
raise
|
|
317
|
+
finally:
|
|
318
|
+
logging.info("Finished StriqueBuildCommand.run()")
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
class StriqueEggInfoCommand(egg_info):
|
|
322
|
+
def run(self):
|
|
323
|
+
logging.info("Starting StriqueEggInfoCommand.run()")
|
|
324
|
+
try:
|
|
325
|
+
if not os.path.exists(proto_dest_dir):
|
|
326
|
+
logging.info(f"Creating {proto_dest_dir} directory")
|
|
327
|
+
os.makedirs(proto_dest_dir)
|
|
328
|
+
else:
|
|
329
|
+
logging.info(f"{proto_dest_dir} directory already exists")
|
|
330
|
+
super().run()
|
|
331
|
+
logging.info("StriqueEggInfoCommand completed successfully")
|
|
332
|
+
except Exception as e:
|
|
333
|
+
logging.error(f"Error in StriqueEggInfoCommand.run(): {e}")
|
|
334
|
+
raise
|
|
335
|
+
finally:
|
|
336
|
+
logging.info("Finished StriqueEggInfoCommand.run()")
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
class StriqueInstallCommand(install):
|
|
340
|
+
def run(self):
|
|
341
|
+
logging.info("Starting StriqueInstallCommand.run()")
|
|
342
|
+
try:
|
|
343
|
+
compile_protos()
|
|
344
|
+
compile_textproto()
|
|
345
|
+
super().run()
|
|
346
|
+
logging.info("StriqueInstallCommand completed successfully")
|
|
347
|
+
except Exception as e:
|
|
348
|
+
logging.error(f"Error in StriqueInstallCommand.run(): {e}")
|
|
349
|
+
raise
|
|
350
|
+
finally:
|
|
351
|
+
logging.info("Finished StriqueInstallCommand.run()")
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = [
|
|
2
|
+
requires = [
|
|
3
|
+
"setuptools>=61.0",
|
|
4
|
+
"grpcio==1.62.0",
|
|
5
|
+
"grpcio-tools==1.62.0",
|
|
6
|
+
"mypy-protobuf>=3.5.0"
|
|
7
|
+
]
|
|
3
8
|
build-backend = "setuptools.build_meta"
|
|
4
9
|
|
|
5
10
|
[project]
|
|
6
11
|
name = "strique-proto-schema"
|
|
7
|
-
version = "32.1.
|
|
12
|
+
version = "32.1.4"
|
|
8
13
|
readme = "README.md"
|
|
9
14
|
description = "API contracts and Data Transfer Objects (DTO) in the form of Protocol Buffers for Strique binaries."
|
|
10
15
|
requires-python = ">=3.7"
|
|
@@ -12,13 +17,14 @@ dependencies = [
|
|
|
12
17
|
"requests",
|
|
13
18
|
"grpcio",
|
|
14
19
|
"grpcio-tools",
|
|
20
|
+
"mypy-protobuf"
|
|
15
21
|
]
|
|
16
22
|
|
|
17
23
|
[tool.setuptools]
|
|
18
24
|
packages = ["strique_proto_schema"]
|
|
19
25
|
|
|
20
26
|
[tool.setuptools.package-data]
|
|
21
|
-
strique_proto_schema = ["**/*.py", "**/*.binary_pb"]
|
|
27
|
+
strique_proto_schema = ["**/*.py", "**/*.pyi", "**/*.binary_pb"]
|
|
22
28
|
|
|
23
29
|
[tool.setuptools.cmdclass]
|
|
24
30
|
build_py = "__init__.StriqueBuildCommand"
|
{strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/strique_proto_schema.egg-info/PKG-INFO
RENAMED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: strique-proto-schema
|
|
3
|
-
Version: 32.1.
|
|
3
|
+
Version: 32.1.4
|
|
4
4
|
Summary: API contracts and Data Transfer Objects (DTO) in the form of Protocol Buffers for Strique binaries.
|
|
5
5
|
Requires-Python: >=3.7
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
Requires-Dist: requests
|
|
8
8
|
Requires-Dist: grpcio
|
|
9
9
|
Requires-Dist: grpcio-tools
|
|
10
|
+
Requires-Dist: mypy-protobuf
|
|
10
11
|
|
|
11
12
|
# Strique Proto Schema
|
|
12
13
|
API contracts and Data Transfer Objects(DTO) in the form of Protocol Buffers for Strique binaries.
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
import os
|
|
2
|
-
import shutil
|
|
3
|
-
import subprocess
|
|
4
|
-
from setuptools.command.build_py import build_py
|
|
5
|
-
from setuptools.command.egg_info import egg_info
|
|
6
|
-
from setuptools.command.install import install
|
|
7
|
-
import logging
|
|
8
|
-
import re
|
|
9
|
-
|
|
10
|
-
# Set up logging
|
|
11
|
-
logging.basicConfig(level=logging.INFO,
|
|
12
|
-
format='%(asctime)s - %(levelname)s - %(message)s')
|
|
13
|
-
|
|
14
|
-
proto_src_dir = 'src/protos'
|
|
15
|
-
proto_dest_dir = 'strique_proto_schema'
|
|
16
|
-
prefix = 'strique_proto_schema.'
|
|
17
|
-
|
|
18
|
-
# Function to fix imports in a single file
|
|
19
|
-
def fix_imports_in_file(file_path, prefix):
|
|
20
|
-
with open(file_path, 'r') as file:
|
|
21
|
-
contents = file.read()
|
|
22
|
-
|
|
23
|
-
# Find the section between _sym_db and DESCRIPTOR
|
|
24
|
-
pattern = re.compile(r'(_sym_db = _symbol_database.Default\(\)\n)(.*?)(\nDESCRIPTOR = _descriptor_pool.Default\(\).AddSerializedFile)', re.DOTALL)
|
|
25
|
-
match = pattern.search(contents)
|
|
26
|
-
if match:
|
|
27
|
-
imports_section = match.group(2)
|
|
28
|
-
# Use regular expressions to replace the import statements in the matched section
|
|
29
|
-
# Ignore imports that start with 'google'
|
|
30
|
-
def replace_import(match):
|
|
31
|
-
module = match.group(1)
|
|
32
|
-
if module.startswith('google'):
|
|
33
|
-
return match.group(0)
|
|
34
|
-
return f'from {prefix}{module} import {match.group(2)}'
|
|
35
|
-
|
|
36
|
-
modified_imports_section = re.sub(r'from (\S+) import (\S+)', replace_import, imports_section)
|
|
37
|
-
# Replace the original imports section with the modified one
|
|
38
|
-
contents = contents.replace(imports_section, modified_imports_section)
|
|
39
|
-
|
|
40
|
-
with open(file_path, 'w') as file:
|
|
41
|
-
file.write(contents)
|
|
42
|
-
|
|
43
|
-
def compile_protos():
|
|
44
|
-
print("Compiling proto files...")
|
|
45
|
-
logging.info("Starting compile_protos()")
|
|
46
|
-
|
|
47
|
-
proto_files = []
|
|
48
|
-
for root, _, files in os.walk(proto_src_dir):
|
|
49
|
-
for file in files:
|
|
50
|
-
if file.endswith('.proto'):
|
|
51
|
-
proto_files.append(os.path.join(root, file))
|
|
52
|
-
|
|
53
|
-
# Compile all the proto files in one shot
|
|
54
|
-
try:
|
|
55
|
-
print(f'Compiling {len(proto_files)} proto files...')
|
|
56
|
-
subprocess.check_call([
|
|
57
|
-
'python3', '-m', 'grpc_tools.protoc',
|
|
58
|
-
f'--proto_path={proto_src_dir}',
|
|
59
|
-
f'--python_out={proto_dest_dir}',
|
|
60
|
-
*proto_files
|
|
61
|
-
])
|
|
62
|
-
print('Successfully compiled all proto files')
|
|
63
|
-
logging.info("Finished compile_protos()")
|
|
64
|
-
except subprocess.CalledProcessError as e:
|
|
65
|
-
print(f'Failed to compile proto files: {e}')
|
|
66
|
-
logging.info("Finished compile_protos()")
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
# Update __init__.py
|
|
70
|
-
init_file = os.path.join(proto_dest_dir, '__init__.py')
|
|
71
|
-
with open(init_file, 'w') as f:
|
|
72
|
-
for root, _, files in os.walk(proto_dest_dir):
|
|
73
|
-
for file in files:
|
|
74
|
-
if file.endswith(('_pb2.py')):
|
|
75
|
-
module_name = os.path.splitext(file)[0]
|
|
76
|
-
relative_path = os.path.relpath(root, proto_dest_dir).replace(os.path.sep, '.')
|
|
77
|
-
if relative_path == '.':
|
|
78
|
-
f.write(f'from .{module_name} import *\n')
|
|
79
|
-
else:
|
|
80
|
-
f.write(f'from .{relative_path}.{module_name} import *\n')
|
|
81
|
-
|
|
82
|
-
# Iterate over the files in the proto directory and fix imports
|
|
83
|
-
for root, _, files in os.walk(proto_dest_dir):
|
|
84
|
-
for file in files:
|
|
85
|
-
if file.endswith('.py') and file != '__init__.py':
|
|
86
|
-
file_path = os.path.join(root, file)
|
|
87
|
-
fix_imports_in_file(file_path, prefix)
|
|
88
|
-
|
|
89
|
-
def compile_textproto():
|
|
90
|
-
"""
|
|
91
|
-
Process textproto files to binary_pb files.
|
|
92
|
-
"""
|
|
93
|
-
logging.info("Starting StriqueInstallCommand.process_textproto()")
|
|
94
|
-
print("Processing textproto files...")
|
|
95
|
-
|
|
96
|
-
for root, _, files in os.walk(proto_src_dir):
|
|
97
|
-
for file in files:
|
|
98
|
-
if file.endswith('.textproto'):
|
|
99
|
-
textproto_file_path = os.path.join(root, file)
|
|
100
|
-
|
|
101
|
-
with open(textproto_file_path, 'r') as f:
|
|
102
|
-
first_line = f.readline().strip()
|
|
103
|
-
second_line = f.readline().strip()
|
|
104
|
-
|
|
105
|
-
if not first_line.startswith('#') or not second_line.startswith('#'):
|
|
106
|
-
logging.warning(f"SKIPPING: Invalid format in {textproto_file_path}")
|
|
107
|
-
continue
|
|
108
|
-
|
|
109
|
-
logging.info(f"Generating binary file from textproto file for {textproto_file_path}")
|
|
110
|
-
|
|
111
|
-
proto_file_path = first_line.replace('# proto-file: ', '')
|
|
112
|
-
message_name = second_line.replace('# proto-message: ', '')
|
|
113
|
-
|
|
114
|
-
proto_file_path = f"./{proto_file_path}"
|
|
115
|
-
|
|
116
|
-
with open(proto_file_path, 'r') as f:
|
|
117
|
-
content = f.read()
|
|
118
|
-
package = re.search(r'^package\s+([^;]+);', content, re.MULTILINE)
|
|
119
|
-
if package:
|
|
120
|
-
package = package.group(1)
|
|
121
|
-
else:
|
|
122
|
-
logging.error(f"ERROR: Could not find package in {proto_file_path}")
|
|
123
|
-
continue
|
|
124
|
-
|
|
125
|
-
proto_message_name = f"{package}.{message_name}"
|
|
126
|
-
|
|
127
|
-
binary_file_path = textproto_file_path.replace('.textproto', '.binary_pb')
|
|
128
|
-
binary_file_path = binary_file_path.replace(proto_src_dir, proto_dest_dir)
|
|
129
|
-
|
|
130
|
-
os.makedirs(os.path.dirname(binary_file_path), exist_ok=True)
|
|
131
|
-
|
|
132
|
-
try:
|
|
133
|
-
logging.info(f"Generating binary file for {textproto_file_path}...")
|
|
134
|
-
subprocess.run([
|
|
135
|
-
'python3', '-m', 'grpc_tools.protoc',
|
|
136
|
-
f'--proto_path={proto_src_dir}',
|
|
137
|
-
f'--encode={proto_message_name}',
|
|
138
|
-
proto_file_path
|
|
139
|
-
], input=open(textproto_file_path, 'rb').read(), stdout=open(binary_file_path, 'wb'), check=True)
|
|
140
|
-
logging.info(f"SUCCESS: Binary file at path {binary_file_path}")
|
|
141
|
-
except subprocess.CalledProcessError as e:
|
|
142
|
-
logging.error(f"ERROR: Failed to generate binary file for {textproto_file_path}: {e}")
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
class StriqueBuildCommand(build_py):
|
|
146
|
-
def run(self):
|
|
147
|
-
logging.info("Starting StriqueBuildCommand.run()")
|
|
148
|
-
compile_protos()
|
|
149
|
-
compile_textproto()
|
|
150
|
-
super().run()
|
|
151
|
-
logging.info("Finished StriqueBuildCommand.run()")
|
|
152
|
-
|
|
153
|
-
class StriqueEggInfoCommand(egg_info):
|
|
154
|
-
def run(self):
|
|
155
|
-
logging.info("Starting StriqueEggInfoCommand.run()")
|
|
156
|
-
if not os.path.exists(proto_dest_dir):
|
|
157
|
-
logging.info(f"Creating {proto_dest_dir} directory")
|
|
158
|
-
os.makedirs(proto_dest_dir)
|
|
159
|
-
else:
|
|
160
|
-
logging.info(f"{proto_dest_dir} directory already exists")
|
|
161
|
-
super().run()
|
|
162
|
-
logging.info("Finished StriqueEggInfoCommand.run()")
|
|
163
|
-
|
|
164
|
-
class StriqueInstallCommand(install):
|
|
165
|
-
def run(self):
|
|
166
|
-
logging.info("Starting StriqueInstallCommand.run()")
|
|
167
|
-
compile_protos()
|
|
168
|
-
compile_textproto()
|
|
169
|
-
super().run()
|
|
170
|
-
logging.info("Finished StriqueInstallCommand.run()")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/ai/reporting/summary.proto
RENAMED
|
File without changes
|
|
File without changes
|
{strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/authz/policy.textproto
RENAMED
|
File without changes
|
{strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/authz/store_policy.proto
RENAMED
|
File without changes
|
{strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/authz/store_policy.textproto
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/datetime/hour.proto
RENAMED
|
File without changes
|
{strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/constants/gender/gender.proto
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{strique_proto_schema-32.1.3 → strique_proto_schema-32.1.4}/src/protos/db/amazon_seller/order.proto
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|