rulebricks 2.6.2__tar.gz → 2.6.3__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.
- {rulebricks-2.6.2 → rulebricks-2.6.3}/PKG-INFO +1 -1
- {rulebricks-2.6.2 → rulebricks-2.6.3}/pyproject.toml +1 -1
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/__init__.py +24 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/client.py +10 -10
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/flows/client.py +12 -4
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/flows/raw_client.py +12 -2
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/raw_client.py +4 -4
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/rules/client.py +12 -4
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/rules/raw_client.py +16 -6
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/types/import_manifest_request_manifest.py +4 -3
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/contexts/client.py +2 -2
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/contexts/objects/raw_client.py +4 -4
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/contexts/raw_client.py +2 -2
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/contexts/relationships/raw_client.py +4 -4
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/errors/conflict_error.py +1 -2
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/forge/examples/health_insurance_selector.py +12 -7
- rulebricks-2.6.3/src/rulebricks/forge/operators.py +2161 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/forge/rule.py +109 -36
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/forge/vocabulary.py +29 -6
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/infra/client.py +2 -2
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/infra/raw_client.py +2 -2
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/objects/client.py +27 -86
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/objects/raw_client.py +92 -88
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/__init__.py +24 -0
- rulebricks-2.6.3/src/rulebricks/types/asset_labels.py +8 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/delete_object_response_values.py +12 -2
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/export_manifest_response_manifest.py +3 -2
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/flow_detail.py +2 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/flow_import_payload.py +2 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/import_manifest_response.py +1 -1
- rulebricks-2.6.3/src/rulebricks/types/manifest_labeled_asset.py +24 -0
- rulebricks-2.6.3/src/rulebricks/types/manifest_labeled_asset_data.py +20 -0
- rulebricks-2.6.3/src/rulebricks/types/object_upsert_conflict_response.py +28 -0
- rulebricks-2.6.3/src/rulebricks/types/object_value_collision.py +30 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rule_detail.py +2 -0
- rulebricks-2.6.3/src/rulebricks/types/rule_export.py +24 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rule_import_payload.py +2 -0
- rulebricks-2.6.3/src/rulebricks/types/upsert_object_request.py +5 -0
- rulebricks-2.6.3/src/rulebricks/types/upsert_object_request_field_rename.py +31 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/upsert_object_response.py +5 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/workspace_object.py +4 -3
- rulebricks-2.6.3/src/rulebricks/types/workspace_object_parsed_fields_item.py +46 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/values/client.py +4 -4
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/values/raw_client.py +118 -8
- rulebricks-2.6.2/src/rulebricks/.DS_Store +0 -0
- rulebricks-2.6.2/src/rulebricks/forge/operators.py +0 -949
- rulebricks-2.6.2/src/rulebricks/types/rule_export.py +0 -8
- {rulebricks-2.6.2 → rulebricks-2.6.3}/LICENSE.txt +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/README.md +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/_default_clients.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/flows/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/folders/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/folders/client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/folders/raw_client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/folders/types/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/folders/types/upsert_folder_request_type.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/rules/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/types/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/types/export_manifest_request_root_type.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/types/export_rbm_assets_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/types/import_manifest_request_conflict_strategy.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/types/import_manifest_request_legacy_rule_mapping_value.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/assets/types/import_manifest_request_legacy_rule_mapping_value_action.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/contexts/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/contexts/objects/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/contexts/objects/client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/contexts/objects/types/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/contexts/objects/types/create_context_request_on_schema_mismatch.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/contexts/objects/types/update_context_request_on_schema_mismatch.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/contexts/relationships/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/contexts/relationships/client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/contexts/relationships/types/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/contexts/relationships/types/create_relationship_request_relation_type.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/api_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/client_wrapper.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/datetime_utils.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/file.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/force_multipart.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/http_client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/http_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/http_sse/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/http_sse/_api.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/http_sse/_decoders.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/http_sse/_exceptions.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/http_sse/_models.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/jsonable_encoder.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/logging.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/parse_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/pydantic_utilities.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/query_encoder.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/remove_none_from_dict.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/request_options.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/core/serialization.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/decisions/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/decisions/client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/decisions/raw_client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/decisions/types/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/decisions/types/query_decisions_request_count.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/decisions/types/query_decisions_request_include_traces.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/decisions/types/query_decisions_request_order.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/decisions/types/query_decisions_request_sort.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/environment.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/errors/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/errors/bad_request_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/errors/content_too_large_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/errors/forbidden_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/errors/internal_server_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/errors/not_found_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/errors/payment_required_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/errors/service_unavailable_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/errors/unprocessable_entity_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/flows/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/flows/client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/flows/raw_client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/forge/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/forge/types/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/forge/types/operators.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/forge/types/values.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/infra/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/objects/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/objects/types/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/objects/types/delete_objects_request_values.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/rules/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/rules/client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/rules/raw_client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/tests/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/tests/client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/tests/conftest.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/tests/flows/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/tests/flows/client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/tests/flows/raw_client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/tests/raw_client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/tests/rules/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/tests/rules/client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/tests/rules/raw_client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/tests/test_aiohttp_autodetect.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/bulk_rule_response_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/bulk_rule_response_item_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/cascade_context_request.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/cascade_context_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/cascade_result.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/cascade_result_status.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_base.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_base_on_schema_mismatch.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_batch_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_batch_response_rejections_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_batch_response_results_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_batch_response_results_item_executed_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_batch_response_results_item_executed_item_status.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_batch_response_results_item_executed_item_type.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_batch_response_results_item_reason.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_batch_response_results_item_status.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_batch_response_timings.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_cascade_summary.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_detail.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_detail_bound_flows_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_detail_bound_flows_item_origin_rule.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_detail_bound_rules_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_detail_folder.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_detail_relationships.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_instance_history.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_instance_history_entry.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_instance_pending_evaluation.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_instance_pending_evaluation_type.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_instance_pending_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_instance_state.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_instance_state_status.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_list_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_list_item_folder.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_list_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_relationship_base.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_relationship_base_relation_type.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_relationship_incoming.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_relationship_incoming_source_context.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_relationship_outgoing.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_relationship_outgoing_target_context.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_relationships_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_relationships_response_context.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_schema.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_schema_field.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_schema_field_type.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/context_waiting_on.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/create_context_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/create_relationship_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/create_test_request.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/create_user_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/create_user_response_user.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/decision_log.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/decision_log_path_trace.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/decision_log_request.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/decision_log_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/delete_context_instance_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/delete_context_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/delete_object_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/delete_relationship_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/delete_value_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/delete_value_response_cascade_deleted_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/delete_value_response_updated_list_values_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/dynamic_request_payload.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/dynamic_response_payload.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/dynamic_value.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/dynamic_value_list_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/dynamic_value_page.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/dynamic_value_value.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/export_manifest_preview_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/export_manifest_preview_response_preview.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/export_manifest_preview_response_preview_counts.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/export_manifest_preview_response_preview_items.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/export_manifest_preview_response_preview_items_contexts_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/export_manifest_preview_response_preview_items_flows_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/export_manifest_preview_response_preview_items_rules_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/export_manifest_preview_response_preview_items_values_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/export_manifest_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/flow_base.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/flow_detail_context.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/flow_detail_origin_rule.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/flow_execution_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/flow_import_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/flow_list_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/folder.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/folder_list_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/folder_type.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/import_manifest_response_created_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/import_manifest_response_errors_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/import_manifest_response_organization_created.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/import_manifest_response_skipped_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/import_manifest_response_updated_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/parallel_solve_entity_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/parallel_solve_entity_error_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/parallel_solve_request.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/parallel_solve_request_value.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/parallel_solve_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/pending_context_evaluation_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/pending_context_evaluation_response_status.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rule_base.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rule_detail_context.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rule_import_condition_row.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rule_import_request_cell.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rule_import_response_cell.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rule_import_row_settings.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rule_import_schema_field.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rule_import_schema_field_type.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rule_list_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rule_usage.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_connection.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_node.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_node_aggregations_value.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_node_condition.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_node_labels_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_node_labels_item_type.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_node_mode.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_node_operation.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_node_outputs_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_node_outputs_item_type.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_node_secrets_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_node_table_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_node_type.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_output_field.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/rulebricks_flow_output_field_type.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/run_tests_request.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/run_tests_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/run_tests_response_failures_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/run_tests_response_results_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/scale_status_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/scale_status_response_status.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/schema_field.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/schema_field_default_value.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/schema_field_type.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/solve_context_flow_request.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/solve_context_flow_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/solve_context_flow_response_status.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/solve_context_rule_request.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/solve_context_rule_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/solve_context_rule_response_status.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/submit_context_data_request.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/submit_context_data_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/submit_context_data_response_cascaded_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/submit_context_data_response_status.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/success_message.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/sync_values_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/sync_values_response_blocked_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/sync_values_response_blocked_item_action.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/sync_values_response_errors_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/test.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/test_list_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/test_test_state.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/test_test_state_evaluation_error.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/update_context_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/update_values_summary_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/upsert_object_response_values.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/upsert_object_response_values_would_archive_item.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/usage_statistics.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/user_detail.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/user_group.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/user_group_list_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/user_invite_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/user_invite_response_user.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/user_list_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/value_limits.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/value_reference.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/types/value_reference_rb.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/users/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/users/client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/users/groups/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/users/groups/client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/users/groups/raw_client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/users/raw_client.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/users/types/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/users/types/user_invite_request_role.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/values/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/values/types/__init__.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/values/types/list_values_response.py +0 -0
- {rulebricks-2.6.2 → rulebricks-2.6.3}/src/rulebricks/values/types/update_values_response.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "rulebricks"
|
|
3
|
-
version = "2.6.
|
|
3
|
+
version = "2.6.3"
|
|
4
4
|
description = "A JSON-based, server-side rule engine with a customizable decision table UI for non-technical end users"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = ["Sid Garimella <sid@rulebricks.com>"]
|
|
@@ -7,6 +7,7 @@ from importlib import import_module
|
|
|
7
7
|
|
|
8
8
|
if typing.TYPE_CHECKING:
|
|
9
9
|
from .types import (
|
|
10
|
+
AssetLabels,
|
|
10
11
|
BulkRuleResponseItem,
|
|
11
12
|
BulkRuleResponseItemError,
|
|
12
13
|
CascadeContextRequest,
|
|
@@ -104,6 +105,10 @@ if typing.TYPE_CHECKING:
|
|
|
104
105
|
ImportManifestResponseOrganizationCreated,
|
|
105
106
|
ImportManifestResponseSkippedItem,
|
|
106
107
|
ImportManifestResponseUpdatedItem,
|
|
108
|
+
ManifestLabeledAsset,
|
|
109
|
+
ManifestLabeledAssetData,
|
|
110
|
+
ObjectUpsertConflictResponse,
|
|
111
|
+
ObjectValueCollision,
|
|
107
112
|
ParallelSolveEntityError,
|
|
108
113
|
ParallelSolveEntityErrorError,
|
|
109
114
|
ParallelSolveRequest,
|
|
@@ -169,6 +174,8 @@ if typing.TYPE_CHECKING:
|
|
|
169
174
|
TestTestStateEvaluationError,
|
|
170
175
|
UpdateContextResponse,
|
|
171
176
|
UpdateValuesSummaryResponse,
|
|
177
|
+
UpsertObjectRequest,
|
|
178
|
+
UpsertObjectRequestFieldRename,
|
|
172
179
|
UpsertObjectResponse,
|
|
173
180
|
UpsertObjectResponseValues,
|
|
174
181
|
UpsertObjectResponseValuesWouldArchiveItem,
|
|
@@ -183,6 +190,7 @@ if typing.TYPE_CHECKING:
|
|
|
183
190
|
ValueReference,
|
|
184
191
|
ValueReferenceRb,
|
|
185
192
|
WorkspaceObject,
|
|
193
|
+
WorkspaceObjectParsedFieldsItem,
|
|
186
194
|
)
|
|
187
195
|
from .errors import (
|
|
188
196
|
BadRequestError,
|
|
@@ -218,6 +226,7 @@ if typing.TYPE_CHECKING:
|
|
|
218
226
|
from .values import ListValuesResponse, UpdateValuesResponse
|
|
219
227
|
from .forge import Rule, Condition, Vocabulary, VocabularyValue
|
|
220
228
|
_dynamic_imports: typing.Dict[str, str] = {
|
|
229
|
+
"AssetLabels": ".types",
|
|
221
230
|
"AsyncRulebricks": ".client",
|
|
222
231
|
"BadRequestError": ".errors",
|
|
223
232
|
"BulkRuleResponseItem": ".types",
|
|
@@ -331,7 +340,11 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
331
340
|
"ImportManifestResponseUpdatedItem": ".types",
|
|
332
341
|
"InternalServerError": ".errors",
|
|
333
342
|
"ListValuesResponse": ".values",
|
|
343
|
+
"ManifestLabeledAsset": ".types",
|
|
344
|
+
"ManifestLabeledAssetData": ".types",
|
|
334
345
|
"NotFoundError": ".errors",
|
|
346
|
+
"ObjectUpsertConflictResponse": ".types",
|
|
347
|
+
"ObjectValueCollision": ".types",
|
|
335
348
|
"ParallelSolveEntityError": ".types",
|
|
336
349
|
"ParallelSolveEntityErrorError": ".types",
|
|
337
350
|
"ParallelSolveRequest": ".types",
|
|
@@ -407,6 +420,8 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
407
420
|
"UpdateContextResponse": ".types",
|
|
408
421
|
"UpdateValuesResponse": ".values",
|
|
409
422
|
"UpdateValuesSummaryResponse": ".types",
|
|
423
|
+
"UpsertObjectRequest": ".types",
|
|
424
|
+
"UpsertObjectRequestFieldRename": ".types",
|
|
410
425
|
"UpsertObjectResponse": ".types",
|
|
411
426
|
"UpsertObjectResponseValues": ".types",
|
|
412
427
|
"UpsertObjectResponseValuesWouldArchiveItem": ".types",
|
|
@@ -422,6 +437,7 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
422
437
|
"ValueReference": ".types",
|
|
423
438
|
"ValueReferenceRb": ".types",
|
|
424
439
|
"WorkspaceObject": ".types",
|
|
440
|
+
"WorkspaceObjectParsedFieldsItem": ".types",
|
|
425
441
|
"assets": ".assets",
|
|
426
442
|
"contexts": ".contexts",
|
|
427
443
|
"decisions": ".decisions",
|
|
@@ -457,6 +473,7 @@ def __dir__():
|
|
|
457
473
|
|
|
458
474
|
|
|
459
475
|
__all__ = [
|
|
476
|
+
"AssetLabels",
|
|
460
477
|
"AsyncRulebricks",
|
|
461
478
|
"BadRequestError",
|
|
462
479
|
"BulkRuleResponseItem",
|
|
@@ -570,7 +587,11 @@ __all__ = [
|
|
|
570
587
|
"ImportManifestResponseUpdatedItem",
|
|
571
588
|
"InternalServerError",
|
|
572
589
|
"ListValuesResponse",
|
|
590
|
+
"ManifestLabeledAsset",
|
|
591
|
+
"ManifestLabeledAssetData",
|
|
573
592
|
"NotFoundError",
|
|
593
|
+
"ObjectUpsertConflictResponse",
|
|
594
|
+
"ObjectValueCollision",
|
|
574
595
|
"ParallelSolveEntityError",
|
|
575
596
|
"ParallelSolveEntityErrorError",
|
|
576
597
|
"ParallelSolveRequest",
|
|
@@ -646,6 +667,8 @@ __all__ = [
|
|
|
646
667
|
"UpdateContextResponse",
|
|
647
668
|
"UpdateValuesResponse",
|
|
648
669
|
"UpdateValuesSummaryResponse",
|
|
670
|
+
"UpsertObjectRequest",
|
|
671
|
+
"UpsertObjectRequestFieldRename",
|
|
649
672
|
"UpsertObjectResponse",
|
|
650
673
|
"UpsertObjectResponseValues",
|
|
651
674
|
"UpsertObjectResponseValuesWouldArchiveItem",
|
|
@@ -661,6 +684,7 @@ __all__ = [
|
|
|
661
684
|
"ValueReference",
|
|
662
685
|
"ValueReferenceRb",
|
|
663
686
|
"WorkspaceObject",
|
|
687
|
+
"WorkspaceObjectParsedFieldsItem",
|
|
664
688
|
"assets",
|
|
665
689
|
"contexts",
|
|
666
690
|
"decisions",
|
|
@@ -78,7 +78,7 @@ class AssetsClient:
|
|
|
78
78
|
request_options: typing.Optional[RequestOptions] = None,
|
|
79
79
|
) -> ImportManifestResponse:
|
|
80
80
|
"""
|
|
81
|
-
Import rules, flows, contexts, and values from an Rulebricks manifest file (*.rbm).
|
|
81
|
+
Import rules, flows, contexts, and values from an Rulebricks manifest file (*.rbm).
|
|
82
82
|
|
|
83
83
|
Parameters
|
|
84
84
|
----------
|
|
@@ -100,11 +100,11 @@ class AssetsClient:
|
|
|
100
100
|
Returns
|
|
101
101
|
-------
|
|
102
102
|
ImportManifestResponse
|
|
103
|
-
Import completed
|
|
103
|
+
Import completed. Object-managed values, if present, are reported in `skipped`; they do not fail the whole import.
|
|
104
104
|
|
|
105
105
|
Examples
|
|
106
106
|
--------
|
|
107
|
-
from rulebricks import Rulebricks
|
|
107
|
+
from rulebricks import ManifestLabeledAsset, Rulebricks
|
|
108
108
|
from rulebricks.assets import ImportManifestRequestManifest
|
|
109
109
|
|
|
110
110
|
client = Rulebricks(
|
|
@@ -113,8 +113,8 @@ class AssetsClient:
|
|
|
113
113
|
client.assets.import_rbm(
|
|
114
114
|
manifest=ImportManifestRequestManifest(
|
|
115
115
|
version="1.0",
|
|
116
|
-
rules=[
|
|
117
|
-
flows=[
|
|
116
|
+
rules=[ManifestLabeledAsset()],
|
|
117
|
+
flows=[ManifestLabeledAsset()],
|
|
118
118
|
entities=[{"name": "Customer", "slug": "customer"}],
|
|
119
119
|
values=[{"name": "tax_rate", "value": 0.08}],
|
|
120
120
|
),
|
|
@@ -289,7 +289,7 @@ class AsyncAssetsClient:
|
|
|
289
289
|
request_options: typing.Optional[RequestOptions] = None,
|
|
290
290
|
) -> ImportManifestResponse:
|
|
291
291
|
"""
|
|
292
|
-
Import rules, flows, contexts, and values from an Rulebricks manifest file (*.rbm).
|
|
292
|
+
Import rules, flows, contexts, and values from an Rulebricks manifest file (*.rbm).
|
|
293
293
|
|
|
294
294
|
Parameters
|
|
295
295
|
----------
|
|
@@ -311,13 +311,13 @@ class AsyncAssetsClient:
|
|
|
311
311
|
Returns
|
|
312
312
|
-------
|
|
313
313
|
ImportManifestResponse
|
|
314
|
-
Import completed
|
|
314
|
+
Import completed. Object-managed values, if present, are reported in `skipped`; they do not fail the whole import.
|
|
315
315
|
|
|
316
316
|
Examples
|
|
317
317
|
--------
|
|
318
318
|
import asyncio
|
|
319
319
|
|
|
320
|
-
from rulebricks import AsyncRulebricks
|
|
320
|
+
from rulebricks import AsyncRulebricks, ManifestLabeledAsset
|
|
321
321
|
from rulebricks.assets import ImportManifestRequestManifest
|
|
322
322
|
|
|
323
323
|
client = AsyncRulebricks(
|
|
@@ -329,8 +329,8 @@ class AsyncAssetsClient:
|
|
|
329
329
|
await client.assets.import_rbm(
|
|
330
330
|
manifest=ImportManifestRequestManifest(
|
|
331
331
|
version="1.0",
|
|
332
|
-
rules=[
|
|
333
|
-
flows=[
|
|
332
|
+
rules=[ManifestLabeledAsset()],
|
|
333
|
+
flows=[ManifestLabeledAsset()],
|
|
334
334
|
entities=[{"name": "Customer", "slug": "customer"}],
|
|
335
335
|
values=[{"name": "tax_rate", "value": 0.08}],
|
|
336
336
|
),
|
|
@@ -33,18 +33,22 @@ class FlowsClient:
|
|
|
33
33
|
self,
|
|
34
34
|
*,
|
|
35
35
|
folder: typing.Optional[str] = None,
|
|
36
|
+
labels: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
36
37
|
user_group: typing.Optional[str] = None,
|
|
37
38
|
name: typing.Optional[str] = None,
|
|
38
39
|
request_options: typing.Optional[RequestOptions] = None,
|
|
39
40
|
) -> FlowListResponse:
|
|
40
41
|
"""
|
|
41
|
-
List all flows in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID,
|
|
42
|
+
List all flows in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID, labels, user group name or ID when the API key has access to that group, or by name.
|
|
42
43
|
|
|
43
44
|
Parameters
|
|
44
45
|
----------
|
|
45
46
|
folder : typing.Optional[str]
|
|
46
47
|
Filter results by folder name or folder ID.
|
|
47
48
|
|
|
49
|
+
labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
50
|
+
Filter results to assets containing all comma-separated labels.
|
|
51
|
+
|
|
48
52
|
user_group : typing.Optional[str]
|
|
49
53
|
Filter results by user group name or ID. The value is validated against workspace groups. Admin/unrestricted API keys can request any group-specific view; restricted API keys may only filter to one of their assigned groups and receive a 403 when filtering outside those groups.
|
|
50
54
|
|
|
@@ -69,7 +73,7 @@ class FlowsClient:
|
|
|
69
73
|
client.assets.flows.list()
|
|
70
74
|
"""
|
|
71
75
|
_response = self._raw_client.list(
|
|
72
|
-
folder=folder, user_group=user_group, name=name, request_options=request_options
|
|
76
|
+
folder=folder, labels=labels, user_group=user_group, name=name, request_options=request_options
|
|
73
77
|
)
|
|
74
78
|
return _response.data
|
|
75
79
|
|
|
@@ -259,18 +263,22 @@ class AsyncFlowsClient:
|
|
|
259
263
|
self,
|
|
260
264
|
*,
|
|
261
265
|
folder: typing.Optional[str] = None,
|
|
266
|
+
labels: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
262
267
|
user_group: typing.Optional[str] = None,
|
|
263
268
|
name: typing.Optional[str] = None,
|
|
264
269
|
request_options: typing.Optional[RequestOptions] = None,
|
|
265
270
|
) -> FlowListResponse:
|
|
266
271
|
"""
|
|
267
|
-
List all flows in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID,
|
|
272
|
+
List all flows in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID, labels, user group name or ID when the API key has access to that group, or by name.
|
|
268
273
|
|
|
269
274
|
Parameters
|
|
270
275
|
----------
|
|
271
276
|
folder : typing.Optional[str]
|
|
272
277
|
Filter results by folder name or folder ID.
|
|
273
278
|
|
|
279
|
+
labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
280
|
+
Filter results to assets containing all comma-separated labels.
|
|
281
|
+
|
|
274
282
|
user_group : typing.Optional[str]
|
|
275
283
|
Filter results by user group name or ID. The value is validated against workspace groups. Admin/unrestricted API keys can request any group-specific view; restricted API keys may only filter to one of their assigned groups and receive a 403 when filtering outside those groups.
|
|
276
284
|
|
|
@@ -303,7 +311,7 @@ class AsyncFlowsClient:
|
|
|
303
311
|
asyncio.run(main())
|
|
304
312
|
"""
|
|
305
313
|
_response = await self._raw_client.list(
|
|
306
|
-
folder=folder, user_group=user_group, name=name, request_options=request_options
|
|
314
|
+
folder=folder, labels=labels, user_group=user_group, name=name, request_options=request_options
|
|
307
315
|
)
|
|
308
316
|
return _response.data
|
|
309
317
|
|
|
@@ -32,18 +32,22 @@ class RawFlowsClient:
|
|
|
32
32
|
self,
|
|
33
33
|
*,
|
|
34
34
|
folder: typing.Optional[str] = None,
|
|
35
|
+
labels: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
35
36
|
user_group: typing.Optional[str] = None,
|
|
36
37
|
name: typing.Optional[str] = None,
|
|
37
38
|
request_options: typing.Optional[RequestOptions] = None,
|
|
38
39
|
) -> HttpResponse[FlowListResponse]:
|
|
39
40
|
"""
|
|
40
|
-
List all flows in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID,
|
|
41
|
+
List all flows in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID, labels, user group name or ID when the API key has access to that group, or by name.
|
|
41
42
|
|
|
42
43
|
Parameters
|
|
43
44
|
----------
|
|
44
45
|
folder : typing.Optional[str]
|
|
45
46
|
Filter results by folder name or folder ID.
|
|
46
47
|
|
|
48
|
+
labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
49
|
+
Filter results to assets containing all comma-separated labels.
|
|
50
|
+
|
|
47
51
|
user_group : typing.Optional[str]
|
|
48
52
|
Filter results by user group name or ID. The value is validated against workspace groups. Admin/unrestricted API keys can request any group-specific view; restricted API keys may only filter to one of their assigned groups and receive a 403 when filtering outside those groups.
|
|
49
53
|
|
|
@@ -63,6 +67,7 @@ class RawFlowsClient:
|
|
|
63
67
|
method="GET",
|
|
64
68
|
params={
|
|
65
69
|
"folder": folder,
|
|
70
|
+
"labels": ",".join(map(str, labels)) if isinstance(labels, (list, tuple, set)) else labels,
|
|
66
71
|
"user_group": user_group,
|
|
67
72
|
"name": name,
|
|
68
73
|
},
|
|
@@ -350,18 +355,22 @@ class AsyncRawFlowsClient:
|
|
|
350
355
|
self,
|
|
351
356
|
*,
|
|
352
357
|
folder: typing.Optional[str] = None,
|
|
358
|
+
labels: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
353
359
|
user_group: typing.Optional[str] = None,
|
|
354
360
|
name: typing.Optional[str] = None,
|
|
355
361
|
request_options: typing.Optional[RequestOptions] = None,
|
|
356
362
|
) -> AsyncHttpResponse[FlowListResponse]:
|
|
357
363
|
"""
|
|
358
|
-
List all flows in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID,
|
|
364
|
+
List all flows in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID, labels, user group name or ID when the API key has access to that group, or by name.
|
|
359
365
|
|
|
360
366
|
Parameters
|
|
361
367
|
----------
|
|
362
368
|
folder : typing.Optional[str]
|
|
363
369
|
Filter results by folder name or folder ID.
|
|
364
370
|
|
|
371
|
+
labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
372
|
+
Filter results to assets containing all comma-separated labels.
|
|
373
|
+
|
|
365
374
|
user_group : typing.Optional[str]
|
|
366
375
|
Filter results by user group name or ID. The value is validated against workspace groups. Admin/unrestricted API keys can request any group-specific view; restricted API keys may only filter to one of their assigned groups and receive a 403 when filtering outside those groups.
|
|
367
376
|
|
|
@@ -381,6 +390,7 @@ class AsyncRawFlowsClient:
|
|
|
381
390
|
method="GET",
|
|
382
391
|
params={
|
|
383
392
|
"folder": folder,
|
|
393
|
+
"labels": ",".join(map(str, labels)) if isinstance(labels, (list, tuple, set)) else labels,
|
|
384
394
|
"user_group": user_group,
|
|
385
395
|
"name": name,
|
|
386
396
|
},
|
|
@@ -78,7 +78,7 @@ class RawAssetsClient:
|
|
|
78
78
|
request_options: typing.Optional[RequestOptions] = None,
|
|
79
79
|
) -> HttpResponse[ImportManifestResponse]:
|
|
80
80
|
"""
|
|
81
|
-
Import rules, flows, contexts, and values from an Rulebricks manifest file (*.rbm).
|
|
81
|
+
Import rules, flows, contexts, and values from an Rulebricks manifest file (*.rbm).
|
|
82
82
|
|
|
83
83
|
Parameters
|
|
84
84
|
----------
|
|
@@ -100,7 +100,7 @@ class RawAssetsClient:
|
|
|
100
100
|
Returns
|
|
101
101
|
-------
|
|
102
102
|
HttpResponse[ImportManifestResponse]
|
|
103
|
-
Import completed
|
|
103
|
+
Import completed. Object-managed values, if present, are reported in `skipped`; they do not fail the whole import.
|
|
104
104
|
"""
|
|
105
105
|
_response = self._client_wrapper.httpx_client.request(
|
|
106
106
|
"admin/import",
|
|
@@ -324,7 +324,7 @@ class AsyncRawAssetsClient:
|
|
|
324
324
|
request_options: typing.Optional[RequestOptions] = None,
|
|
325
325
|
) -> AsyncHttpResponse[ImportManifestResponse]:
|
|
326
326
|
"""
|
|
327
|
-
Import rules, flows, contexts, and values from an Rulebricks manifest file (*.rbm).
|
|
327
|
+
Import rules, flows, contexts, and values from an Rulebricks manifest file (*.rbm).
|
|
328
328
|
|
|
329
329
|
Parameters
|
|
330
330
|
----------
|
|
@@ -346,7 +346,7 @@ class AsyncRawAssetsClient:
|
|
|
346
346
|
Returns
|
|
347
347
|
-------
|
|
348
348
|
AsyncHttpResponse[ImportManifestResponse]
|
|
349
|
-
Import completed
|
|
349
|
+
Import completed. Object-managed values, if present, are reported in `skipped`; they do not fail the whole import.
|
|
350
350
|
"""
|
|
351
351
|
_response = await self._client_wrapper.httpx_client.request(
|
|
352
352
|
"admin/import",
|
|
@@ -251,18 +251,22 @@ class RulesClient:
|
|
|
251
251
|
self,
|
|
252
252
|
*,
|
|
253
253
|
folder: typing.Optional[str] = None,
|
|
254
|
+
labels: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
254
255
|
user_group: typing.Optional[str] = None,
|
|
255
256
|
name: typing.Optional[str] = None,
|
|
256
257
|
request_options: typing.Optional[RequestOptions] = None,
|
|
257
258
|
) -> RuleListResponse:
|
|
258
259
|
"""
|
|
259
|
-
List all rules in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID,
|
|
260
|
+
List all rules in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID, labels, user group name or ID when the API key has access to that group, or by name.
|
|
260
261
|
|
|
261
262
|
Parameters
|
|
262
263
|
----------
|
|
263
264
|
folder : typing.Optional[str]
|
|
264
265
|
Filter results by folder name or folder ID.
|
|
265
266
|
|
|
267
|
+
labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
268
|
+
Filter results to assets containing all comma-separated labels.
|
|
269
|
+
|
|
266
270
|
user_group : typing.Optional[str]
|
|
267
271
|
Filter results by user group name or ID. The value is validated against workspace groups. Admin/unrestricted API keys can request any group-specific view; restricted API keys may only filter to one of their assigned groups and receive a 403 when filtering outside those groups.
|
|
268
272
|
|
|
@@ -289,7 +293,7 @@ class RulesClient:
|
|
|
289
293
|
)
|
|
290
294
|
"""
|
|
291
295
|
_response = self._raw_client.list(
|
|
292
|
-
folder=folder, user_group=user_group, name=name, request_options=request_options
|
|
296
|
+
folder=folder, labels=labels, user_group=user_group, name=name, request_options=request_options
|
|
293
297
|
)
|
|
294
298
|
return _response.data
|
|
295
299
|
|
|
@@ -556,18 +560,22 @@ class AsyncRulesClient:
|
|
|
556
560
|
self,
|
|
557
561
|
*,
|
|
558
562
|
folder: typing.Optional[str] = None,
|
|
563
|
+
labels: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
559
564
|
user_group: typing.Optional[str] = None,
|
|
560
565
|
name: typing.Optional[str] = None,
|
|
561
566
|
request_options: typing.Optional[RequestOptions] = None,
|
|
562
567
|
) -> RuleListResponse:
|
|
563
568
|
"""
|
|
564
|
-
List all rules in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID,
|
|
569
|
+
List all rules in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID, labels, user group name or ID when the API key has access to that group, or by name.
|
|
565
570
|
|
|
566
571
|
Parameters
|
|
567
572
|
----------
|
|
568
573
|
folder : typing.Optional[str]
|
|
569
574
|
Filter results by folder name or folder ID.
|
|
570
575
|
|
|
576
|
+
labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
577
|
+
Filter results to assets containing all comma-separated labels.
|
|
578
|
+
|
|
571
579
|
user_group : typing.Optional[str]
|
|
572
580
|
Filter results by user group name or ID. The value is validated against workspace groups. Admin/unrestricted API keys can request any group-specific view; restricted API keys may only filter to one of their assigned groups and receive a 403 when filtering outside those groups.
|
|
573
581
|
|
|
@@ -602,6 +610,6 @@ class AsyncRulesClient:
|
|
|
602
610
|
asyncio.run(main())
|
|
603
611
|
"""
|
|
604
612
|
_response = await self._raw_client.list(
|
|
605
|
-
folder=folder, user_group=user_group, name=name, request_options=request_options
|
|
613
|
+
folder=folder, labels=labels, user_group=user_group, name=name, request_options=request_options
|
|
606
614
|
)
|
|
607
615
|
return _response.data
|
|
@@ -270,9 +270,9 @@ class RawRulesClient:
|
|
|
270
270
|
raise ConflictError(
|
|
271
271
|
headers=dict(_response.headers),
|
|
272
272
|
body=typing.cast(
|
|
273
|
-
|
|
273
|
+
typing.Any,
|
|
274
274
|
parse_obj_as(
|
|
275
|
-
type_=
|
|
275
|
+
type_=typing.Any, # type: ignore
|
|
276
276
|
object_=_response.json(),
|
|
277
277
|
),
|
|
278
278
|
),
|
|
@@ -312,18 +312,22 @@ class RawRulesClient:
|
|
|
312
312
|
self,
|
|
313
313
|
*,
|
|
314
314
|
folder: typing.Optional[str] = None,
|
|
315
|
+
labels: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
315
316
|
user_group: typing.Optional[str] = None,
|
|
316
317
|
name: typing.Optional[str] = None,
|
|
317
318
|
request_options: typing.Optional[RequestOptions] = None,
|
|
318
319
|
) -> HttpResponse[RuleListResponse]:
|
|
319
320
|
"""
|
|
320
|
-
List all rules in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID,
|
|
321
|
+
List all rules in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID, labels, user group name or ID when the API key has access to that group, or by name.
|
|
321
322
|
|
|
322
323
|
Parameters
|
|
323
324
|
----------
|
|
324
325
|
folder : typing.Optional[str]
|
|
325
326
|
Filter results by folder name or folder ID.
|
|
326
327
|
|
|
328
|
+
labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
329
|
+
Filter results to assets containing all comma-separated labels.
|
|
330
|
+
|
|
327
331
|
user_group : typing.Optional[str]
|
|
328
332
|
Filter results by user group name or ID. The value is validated against workspace groups. Admin/unrestricted API keys can request any group-specific view; restricted API keys may only filter to one of their assigned groups and receive a 403 when filtering outside those groups.
|
|
329
333
|
|
|
@@ -343,6 +347,7 @@ class RawRulesClient:
|
|
|
343
347
|
method="GET",
|
|
344
348
|
params={
|
|
345
349
|
"folder": folder,
|
|
350
|
+
"labels": ",".join(map(str, labels)) if isinstance(labels, (list, tuple, set)) else labels,
|
|
346
351
|
"user_group": user_group,
|
|
347
352
|
"name": name,
|
|
348
353
|
},
|
|
@@ -635,9 +640,9 @@ class AsyncRawRulesClient:
|
|
|
635
640
|
raise ConflictError(
|
|
636
641
|
headers=dict(_response.headers),
|
|
637
642
|
body=typing.cast(
|
|
638
|
-
|
|
643
|
+
typing.Any,
|
|
639
644
|
parse_obj_as(
|
|
640
|
-
type_=
|
|
645
|
+
type_=typing.Any, # type: ignore
|
|
641
646
|
object_=_response.json(),
|
|
642
647
|
),
|
|
643
648
|
),
|
|
@@ -677,18 +682,22 @@ class AsyncRawRulesClient:
|
|
|
677
682
|
self,
|
|
678
683
|
*,
|
|
679
684
|
folder: typing.Optional[str] = None,
|
|
685
|
+
labels: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
680
686
|
user_group: typing.Optional[str] = None,
|
|
681
687
|
name: typing.Optional[str] = None,
|
|
682
688
|
request_options: typing.Optional[RequestOptions] = None,
|
|
683
689
|
) -> AsyncHttpResponse[RuleListResponse]:
|
|
684
690
|
"""
|
|
685
|
-
List all rules in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID,
|
|
691
|
+
List all rules in the organization. Results are scoped to the API key holder's user groups. Optionally filter by folder name or ID, labels, user group name or ID when the API key has access to that group, or by name.
|
|
686
692
|
|
|
687
693
|
Parameters
|
|
688
694
|
----------
|
|
689
695
|
folder : typing.Optional[str]
|
|
690
696
|
Filter results by folder name or folder ID.
|
|
691
697
|
|
|
698
|
+
labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
699
|
+
Filter results to assets containing all comma-separated labels.
|
|
700
|
+
|
|
692
701
|
user_group : typing.Optional[str]
|
|
693
702
|
Filter results by user group name or ID. The value is validated against workspace groups. Admin/unrestricted API keys can request any group-specific view; restricted API keys may only filter to one of their assigned groups and receive a 403 when filtering outside those groups.
|
|
694
703
|
|
|
@@ -708,6 +717,7 @@ class AsyncRawRulesClient:
|
|
|
708
717
|
method="GET",
|
|
709
718
|
params={
|
|
710
719
|
"folder": folder,
|
|
720
|
+
"labels": ",".join(map(str, labels)) if isinstance(labels, (list, tuple, set)) else labels,
|
|
711
721
|
"user_group": user_group,
|
|
712
722
|
"name": name,
|
|
713
723
|
},
|
|
@@ -4,6 +4,7 @@ import typing
|
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
6
|
from ...core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from ...types.manifest_labeled_asset import ManifestLabeledAsset
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class ImportManifestRequestManifest(UniversalBaseModel):
|
|
@@ -16,12 +17,12 @@ class ImportManifestRequestManifest(UniversalBaseModel):
|
|
|
16
17
|
Manifest format version.
|
|
17
18
|
"""
|
|
18
19
|
|
|
19
|
-
rules: typing.Optional[typing.List[
|
|
20
|
+
rules: typing.Optional[typing.List[ManifestLabeledAsset]] = pydantic.Field(default=None)
|
|
20
21
|
"""
|
|
21
22
|
Rules to import.
|
|
22
23
|
"""
|
|
23
24
|
|
|
24
|
-
flows: typing.Optional[typing.List[
|
|
25
|
+
flows: typing.Optional[typing.List[ManifestLabeledAsset]] = pydantic.Field(default=None)
|
|
25
26
|
"""
|
|
26
27
|
Flows to import.
|
|
27
28
|
"""
|
|
@@ -38,7 +39,7 @@ class ImportManifestRequestManifest(UniversalBaseModel):
|
|
|
38
39
|
|
|
39
40
|
values: typing.Optional[typing.List[typing.Dict[str, typing.Any]]] = pydantic.Field(default=None)
|
|
40
41
|
"""
|
|
41
|
-
Vocabulary values to import.
|
|
42
|
+
Vocabulary values to import. Entries in object-managed namespaces are skipped and reported instead of being overwritten.
|
|
42
43
|
"""
|
|
43
44
|
|
|
44
45
|
if IS_PYDANTIC_V2:
|
|
@@ -314,7 +314,7 @@ class ContextsClient:
|
|
|
314
314
|
request_options: typing.Optional[RequestOptions] = None,
|
|
315
315
|
) -> ContextBatchResponse:
|
|
316
316
|
"""
|
|
317
|
-
Submit an array of records to any context in one synchronous call. Records merge into their context instances (matched by the context's identity fact), bound rules and flows whose inputs became satisfied execute, and the response returns the resolved state of every touched instance. Retries are always safe: merges are idempotent and executions are deduplicated by input hash. Fact history is recorded for tracked facts exactly as on individual writes. Clients chunk large datasets across requests.
|
|
317
|
+
Submit an array of records to any context in one synchronous call. Records merge into their context instances (matched by the context's identity fact), bound rules and flows whose inputs became satisfied execute, and the response returns the resolved state of every touched instance. Retries are always safe: merges are idempotent and executions are deduplicated by input hash. Fact history is recorded for tracked facts exactly as on individual writes. Clients chunk large datasets across requests.
|
|
318
318
|
|
|
319
319
|
Parameters
|
|
320
320
|
----------
|
|
@@ -708,7 +708,7 @@ class AsyncContextsClient:
|
|
|
708
708
|
request_options: typing.Optional[RequestOptions] = None,
|
|
709
709
|
) -> ContextBatchResponse:
|
|
710
710
|
"""
|
|
711
|
-
Submit an array of records to any context in one synchronous call. Records merge into their context instances (matched by the context's identity fact), bound rules and flows whose inputs became satisfied execute, and the response returns the resolved state of every touched instance. Retries are always safe: merges are idempotent and executions are deduplicated by input hash. Fact history is recorded for tracked facts exactly as on individual writes. Clients chunk large datasets across requests.
|
|
711
|
+
Submit an array of records to any context in one synchronous call. Records merge into their context instances (matched by the context's identity fact), bound rules and flows whose inputs became satisfied execute, and the response returns the resolved state of every touched instance. Retries are always safe: merges are idempotent and executions are deduplicated by input hash. Fact history is recorded for tracked facts exactly as on individual writes. Clients chunk large datasets across requests.
|
|
712
712
|
|
|
713
713
|
Parameters
|
|
714
714
|
----------
|
|
@@ -200,9 +200,9 @@ class RawObjectsClient:
|
|
|
200
200
|
raise ConflictError(
|
|
201
201
|
headers=dict(_response.headers),
|
|
202
202
|
body=typing.cast(
|
|
203
|
-
|
|
203
|
+
typing.Any,
|
|
204
204
|
parse_obj_as(
|
|
205
|
-
type_=
|
|
205
|
+
type_=typing.Any, # type: ignore
|
|
206
206
|
object_=_response.json(),
|
|
207
207
|
),
|
|
208
208
|
),
|
|
@@ -653,9 +653,9 @@ class AsyncRawObjectsClient:
|
|
|
653
653
|
raise ConflictError(
|
|
654
654
|
headers=dict(_response.headers),
|
|
655
655
|
body=typing.cast(
|
|
656
|
-
|
|
656
|
+
typing.Any,
|
|
657
657
|
parse_obj_as(
|
|
658
|
-
type_=
|
|
658
|
+
type_=typing.Any, # type: ignore
|
|
659
659
|
object_=_response.json(),
|
|
660
660
|
),
|
|
661
661
|
),
|
|
@@ -515,7 +515,7 @@ class RawContextsClient:
|
|
|
515
515
|
request_options: typing.Optional[RequestOptions] = None,
|
|
516
516
|
) -> HttpResponse[ContextBatchResponse]:
|
|
517
517
|
"""
|
|
518
|
-
Submit an array of records to any context in one synchronous call. Records merge into their context instances (matched by the context's identity fact), bound rules and flows whose inputs became satisfied execute, and the response returns the resolved state of every touched instance. Retries are always safe: merges are idempotent and executions are deduplicated by input hash. Fact history is recorded for tracked facts exactly as on individual writes. Clients chunk large datasets across requests.
|
|
518
|
+
Submit an array of records to any context in one synchronous call. Records merge into their context instances (matched by the context's identity fact), bound rules and flows whose inputs became satisfied execute, and the response returns the resolved state of every touched instance. Retries are always safe: merges are idempotent and executions are deduplicated by input hash. Fact history is recorded for tracked facts exactly as on individual writes. Clients chunk large datasets across requests.
|
|
519
519
|
|
|
520
520
|
Parameters
|
|
521
521
|
----------
|
|
@@ -1106,7 +1106,7 @@ class AsyncRawContextsClient:
|
|
|
1106
1106
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1107
1107
|
) -> AsyncHttpResponse[ContextBatchResponse]:
|
|
1108
1108
|
"""
|
|
1109
|
-
Submit an array of records to any context in one synchronous call. Records merge into their context instances (matched by the context's identity fact), bound rules and flows whose inputs became satisfied execute, and the response returns the resolved state of every touched instance. Retries are always safe: merges are idempotent and executions are deduplicated by input hash. Fact history is recorded for tracked facts exactly as on individual writes. Clients chunk large datasets across requests.
|
|
1109
|
+
Submit an array of records to any context in one synchronous call. Records merge into their context instances (matched by the context's identity fact), bound rules and flows whose inputs became satisfied execute, and the response returns the resolved state of every touched instance. Retries are always safe: merges are idempotent and executions are deduplicated by input hash. Fact history is recorded for tracked facts exactly as on individual writes. Clients chunk large datasets across requests.
|
|
1110
1110
|
|
|
1111
1111
|
Parameters
|
|
1112
1112
|
----------
|
|
@@ -200,9 +200,9 @@ class RawRelationshipsClient:
|
|
|
200
200
|
raise ConflictError(
|
|
201
201
|
headers=dict(_response.headers),
|
|
202
202
|
body=typing.cast(
|
|
203
|
-
|
|
203
|
+
typing.Any,
|
|
204
204
|
parse_obj_as(
|
|
205
|
-
type_=
|
|
205
|
+
type_=typing.Any, # type: ignore
|
|
206
206
|
object_=_response.json(),
|
|
207
207
|
),
|
|
208
208
|
),
|
|
@@ -481,9 +481,9 @@ class AsyncRawRelationshipsClient:
|
|
|
481
481
|
raise ConflictError(
|
|
482
482
|
headers=dict(_response.headers),
|
|
483
483
|
body=typing.cast(
|
|
484
|
-
|
|
484
|
+
typing.Any,
|
|
485
485
|
parse_obj_as(
|
|
486
|
-
type_=
|
|
486
|
+
type_=typing.Any, # type: ignore
|
|
487
487
|
object_=_response.json(),
|
|
488
488
|
),
|
|
489
489
|
),
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
from ..core.api_error import ApiError
|
|
6
|
-
from ..types.error import Error
|
|
7
6
|
|
|
8
7
|
|
|
9
8
|
class ConflictError(ApiError):
|
|
10
|
-
def __init__(self, body:
|
|
9
|
+
def __init__(self, body: typing.Any, headers: typing.Optional[typing.Dict[str, str]] = None):
|
|
11
10
|
super().__init__(status_code=409, headers=headers, body=body)
|