luminesce-sdk 2.2.38__tar.gz → 2.3.2__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.
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/PKG-INFO +1 -1
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api/binary_downloading_api.py +2 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api/certificate_management_api.py +2 -5
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api/current_table_field_catalog_api.py +1 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api/health_checking_endpoint_api.py +1 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api/historically_executed_queries_api.py +2 -5
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api/multi_query_execution_api.py +1 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api/sql_background_execution_api.py +2 -5
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api/sql_design_api.py +34 -36
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api/sql_execution_api.py +2 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api_client.py +1 -1
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/configuration.py +1 -1
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/exceptions.py +58 -25
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/extensions/api_client.py +1 -1
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/access_controlled_action.py +7 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/access_controlled_resource.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/access_controlled_resource_identifier_part_schema_attribute.py +7 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/action_id.py +6 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/aggregate_function.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/aggregation.py +7 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/auto_detect_type.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/available_field.py +10 -6
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/available_parameter.py +7 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/background_multi_query_progress_response.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/background_multi_query_response.py +15 -11
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/background_query_cancel_response.py +9 -5
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/background_query_progress_response.py +10 -6
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/background_query_response.py +14 -10
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/background_query_state.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/case_statement_design.py +7 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/case_statement_item.py +7 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/certificate_action.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/certificate_file_type.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/certificate_state.py +15 -11
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/certificate_status.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/certificate_type.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/column.py +10 -6
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/column_info.py +7 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/column_state_type.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/condition_attributes.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/convert_to_view_data.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/cursor_position.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/dashboard_type.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/data_type.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/date_parameters.py +10 -6
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/design_join_type.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/error_highlight_item.py +10 -6
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/error_highlight_request.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/error_highlight_response.py +7 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/expression_with_alias.py +6 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/feedback_event_args.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/feedback_level.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/field_design.py +11 -7
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/field_type.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/file_reader_builder_def.py +12 -8
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/file_reader_builder_response.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/filter_model.py +9 -5
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/filter_term_design.py +7 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/filter_type.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/id_selector_definition.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/inlined_property_design.py +7 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/inlined_property_item.py +7 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/intellisense_item.py +7 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/intellisense_request.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/intellisense_response.py +10 -6
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/intellisense_type.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/joined_table_design.py +9 -5
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/link.py +6 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/luminesce_binary_type.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/lusid_grid_data.py +10 -6
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/lusid_problem_details.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/mappable_field.py +6 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/mapping_flags.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/multi_query_definition_type.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/on_clause_term_design.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/options_csv.py +11 -7
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/options_excel.py +11 -7
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/options_parquet.py +6 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/options_sq_lite.py +6 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/options_xml.py +7 -3
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/order_by_direction.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/order_by_term_design.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/query_design.py +13 -9
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/query_designer_binary_operator.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/query_designer_version.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/resource_id.py +6 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/resource_list_of_access_controlled_resource.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/scalar_parameter.py +10 -6
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/source.py +6 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/source_type.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/table_meta.py +6 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/table_view.py +10 -6
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/task_status.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/type.py +4 -2
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/view_parameter.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/writer_design.py +8 -4
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/pyproject.toml +1 -1
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/README.md +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/__init__.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api/__init__.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api/application_metadata_api.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api_response.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/extensions/__init__.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/extensions/api_client_factory.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/extensions/api_configuration.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/extensions/configuration_loaders.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/extensions/configuration_options.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/extensions/file_access_token.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/extensions/proxy_config.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/extensions/refreshing_token.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/extensions/rest.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/extensions/retry.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/extensions/socket_keep_alive.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/extensions/tcp_keep_alive_connector.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/models/__init__.py +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/py.typed +0 -0
- {luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/rest.py +0 -0
|
@@ -19,11 +19,9 @@ import warnings
|
|
|
19
19
|
from pydantic.v1 import validate_arguments, ValidationError
|
|
20
20
|
from typing import overload, Optional, Union, Awaitable
|
|
21
21
|
|
|
22
|
-
from
|
|
23
|
-
from pydantic.v1 import Field, StrictStr
|
|
24
|
-
|
|
22
|
+
from pydantic.v1 import Field, StrictBytes, StrictStr
|
|
25
23
|
from typing import List, Optional, Union
|
|
26
|
-
|
|
24
|
+
from typing_extensions import Annotated
|
|
27
25
|
from luminesce.models.luminesce_binary_type import LuminesceBinaryType
|
|
28
26
|
|
|
29
27
|
from luminesce.api_client import ApiClient
|
|
@@ -19,13 +19,10 @@ import warnings
|
|
|
19
19
|
from pydantic.v1 import validate_arguments, ValidationError
|
|
20
20
|
from typing import overload, Optional, Union, Awaitable
|
|
21
21
|
|
|
22
|
-
from typing_extensions import Annotated
|
|
23
22
|
from datetime import datetime
|
|
24
|
-
|
|
25
|
-
from pydantic.v1 import Field, StrictBool, StrictInt
|
|
26
|
-
|
|
23
|
+
from pydantic.v1 import Field, StrictBool, StrictBytes, StrictInt, StrictStr
|
|
27
24
|
from typing import List, Optional, Union
|
|
28
|
-
|
|
25
|
+
from typing_extensions import Annotated
|
|
29
26
|
from luminesce.models.certificate_action import CertificateAction
|
|
30
27
|
from luminesce.models.certificate_file_type import CertificateFileType
|
|
31
28
|
from luminesce.models.certificate_state import CertificateState
|
{luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api/current_table_field_catalog_api.py
RENAMED
|
@@ -19,11 +19,9 @@ import warnings
|
|
|
19
19
|
from pydantic.v1 import validate_arguments, ValidationError
|
|
20
20
|
from typing import overload, Optional, Union, Awaitable
|
|
21
21
|
|
|
22
|
-
from typing_extensions import Annotated
|
|
23
22
|
from pydantic.v1 import Field, StrictBool, StrictStr
|
|
24
|
-
|
|
25
23
|
from typing import Optional
|
|
26
|
-
|
|
24
|
+
from typing_extensions import Annotated
|
|
27
25
|
|
|
28
26
|
from luminesce.api_client import ApiClient
|
|
29
27
|
from luminesce.api_response import ApiResponse
|
|
@@ -19,11 +19,9 @@ import warnings
|
|
|
19
19
|
from pydantic.v1 import validate_arguments, ValidationError
|
|
20
20
|
from typing import overload, Optional, Union, Awaitable
|
|
21
21
|
|
|
22
|
-
from typing_extensions import Annotated
|
|
23
22
|
from pydantic.v1 import Field, StrictInt
|
|
24
|
-
|
|
25
23
|
from typing import Any, Dict, Optional
|
|
26
|
-
|
|
24
|
+
from typing_extensions import Annotated
|
|
27
25
|
|
|
28
26
|
from luminesce.api_client import ApiClient
|
|
29
27
|
from luminesce.api_response import ApiResponse
|
{luminesce_sdk-2.2.38 → luminesce_sdk-2.3.2}/luminesce/api/historically_executed_queries_api.py
RENAMED
|
@@ -19,13 +19,10 @@ import warnings
|
|
|
19
19
|
from pydantic.v1 import validate_arguments, ValidationError
|
|
20
20
|
from typing import overload, Optional, Union, Awaitable
|
|
21
21
|
|
|
22
|
-
from typing_extensions import Annotated
|
|
23
22
|
from datetime import datetime
|
|
24
|
-
|
|
25
|
-
from pydantic.v1 import Field, StrictBool, StrictInt, StrictStr, constr, validator
|
|
26
|
-
|
|
23
|
+
from pydantic.v1 import Field, StrictBool, StrictInt, StrictStr
|
|
27
24
|
from typing import Optional
|
|
28
|
-
|
|
25
|
+
from typing_extensions import Annotated
|
|
29
26
|
from luminesce.models.background_query_cancel_response import BackgroundQueryCancelResponse
|
|
30
27
|
from luminesce.models.background_query_progress_response import BackgroundQueryProgressResponse
|
|
31
28
|
from luminesce.models.background_query_response import BackgroundQueryResponse
|
|
@@ -19,13 +19,10 @@ import warnings
|
|
|
19
19
|
from pydantic.v1 import validate_arguments, ValidationError
|
|
20
20
|
from typing import overload, Optional, Union, Awaitable
|
|
21
21
|
|
|
22
|
-
from typing_extensions import Annotated
|
|
23
22
|
from datetime import datetime
|
|
24
|
-
|
|
25
23
|
from pydantic.v1 import Field, StrictInt, StrictStr
|
|
26
|
-
|
|
27
24
|
from typing import Optional
|
|
28
|
-
|
|
25
|
+
from typing_extensions import Annotated
|
|
29
26
|
from luminesce.models.background_multi_query_progress_response import BackgroundMultiQueryProgressResponse
|
|
30
27
|
from luminesce.models.background_multi_query_response import BackgroundMultiQueryResponse
|
|
31
28
|
from luminesce.models.background_query_cancel_response import BackgroundQueryCancelResponse
|
|
@@ -19,13 +19,10 @@ import warnings
|
|
|
19
19
|
from pydantic.v1 import validate_arguments, ValidationError
|
|
20
20
|
from typing import overload, Optional, Union, Awaitable
|
|
21
21
|
|
|
22
|
-
from typing_extensions import Annotated
|
|
23
22
|
from datetime import datetime
|
|
24
|
-
|
|
25
|
-
from pydantic.v1 import Field, StrictBool, StrictInt, StrictStr, constr, validator
|
|
26
|
-
|
|
23
|
+
from pydantic.v1 import Field, StrictBool, StrictBytes, StrictInt, StrictStr
|
|
27
24
|
from typing import Dict, Optional, Union
|
|
28
|
-
|
|
25
|
+
from typing_extensions import Annotated
|
|
29
26
|
from luminesce.models.background_query_cancel_response import BackgroundQueryCancelResponse
|
|
30
27
|
from luminesce.models.background_query_progress_response import BackgroundQueryProgressResponse
|
|
31
28
|
from luminesce.models.background_query_response import BackgroundQueryResponse
|
|
@@ -19,11 +19,9 @@ import warnings
|
|
|
19
19
|
from pydantic.v1 import validate_arguments, ValidationError
|
|
20
20
|
from typing import overload, Optional, Union, Awaitable
|
|
21
21
|
|
|
22
|
-
from
|
|
23
|
-
from pydantic.v1 import Field, StrictBool, StrictInt, StrictStr
|
|
24
|
-
|
|
22
|
+
from pydantic.v1 import Field, StrictBool, StrictBytes, StrictInt, StrictStr
|
|
25
23
|
from typing import List, Optional, Union
|
|
26
|
-
|
|
24
|
+
from typing_extensions import Annotated
|
|
27
25
|
from luminesce.models.case_statement_design import CaseStatementDesign
|
|
28
26
|
from luminesce.models.convert_to_view_data import ConvertToViewData
|
|
29
27
|
from luminesce.models.error_highlight_request import ErrorHighlightRequest
|
|
@@ -387,15 +385,15 @@ class SqlDesignApi:
|
|
|
387
385
|
|
|
388
386
|
|
|
389
387
|
@overload
|
|
390
|
-
async def put_case_statement_design_to_sql(self, case_statement_design : Annotated[CaseStatementDesign, Field(
|
|
388
|
+
async def put_case_statement_design_to_sql(self, case_statement_design : Annotated[CaseStatementDesign, Field(description="CaseStatementDesign object to try and create a SQL query from")], **kwargs) -> str: # noqa: E501
|
|
391
389
|
...
|
|
392
390
|
|
|
393
391
|
@overload
|
|
394
|
-
def put_case_statement_design_to_sql(self, case_statement_design : Annotated[CaseStatementDesign, Field(
|
|
392
|
+
def put_case_statement_design_to_sql(self, case_statement_design : Annotated[CaseStatementDesign, Field(description="CaseStatementDesign object to try and create a SQL query from")], async_req: Optional[bool]=True, **kwargs) -> str: # noqa: E501
|
|
395
393
|
...
|
|
396
394
|
|
|
397
395
|
@validate_arguments
|
|
398
|
-
def put_case_statement_design_to_sql(self, case_statement_design : Annotated[CaseStatementDesign, Field(
|
|
396
|
+
def put_case_statement_design_to_sql(self, case_statement_design : Annotated[CaseStatementDesign, Field(description="CaseStatementDesign object to try and create a SQL query from")], async_req: Optional[bool]=None, **kwargs) -> Union[str, Awaitable[str]]: # noqa: E501
|
|
399
397
|
"""PutCaseStatementDesignToSql: Convert a case statement design object to SQL # noqa: E501
|
|
400
398
|
|
|
401
399
|
Generates a SQL case statement query from a structured CaseStatementDesign object > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -426,7 +424,7 @@ class SqlDesignApi:
|
|
|
426
424
|
return self.put_case_statement_design_to_sql_with_http_info(case_statement_design, **kwargs) # noqa: E501
|
|
427
425
|
|
|
428
426
|
@validate_arguments
|
|
429
|
-
def put_case_statement_design_to_sql_with_http_info(self, case_statement_design : Annotated[CaseStatementDesign, Field(
|
|
427
|
+
def put_case_statement_design_to_sql_with_http_info(self, case_statement_design : Annotated[CaseStatementDesign, Field(description="CaseStatementDesign object to try and create a SQL query from")], **kwargs) -> ApiResponse: # noqa: E501
|
|
430
428
|
"""PutCaseStatementDesignToSql: Convert a case statement design object to SQL # noqa: E501
|
|
431
429
|
|
|
432
430
|
Generates a SQL case statement query from a structured CaseStatementDesign object > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -547,15 +545,15 @@ class SqlDesignApi:
|
|
|
547
545
|
|
|
548
546
|
|
|
549
547
|
@overload
|
|
550
|
-
async def put_file_read_design_to_sql(self, file_reader_builder_def : Annotated[FileReaderBuilderDef, Field(
|
|
548
|
+
async def put_file_read_design_to_sql(self, file_reader_builder_def : Annotated[FileReaderBuilderDef, Field(description="Structured file read design object to generate SQL from")], execute_query : Annotated[Optional[StrictBool], Field(description="Should the generated query be executed to build preview data or determine errors.>")] = None, **kwargs) -> FileReaderBuilderResponse: # noqa: E501
|
|
551
549
|
...
|
|
552
550
|
|
|
553
551
|
@overload
|
|
554
|
-
def put_file_read_design_to_sql(self, file_reader_builder_def : Annotated[FileReaderBuilderDef, Field(
|
|
552
|
+
def put_file_read_design_to_sql(self, file_reader_builder_def : Annotated[FileReaderBuilderDef, Field(description="Structured file read design object to generate SQL from")], execute_query : Annotated[Optional[StrictBool], Field(description="Should the generated query be executed to build preview data or determine errors.>")] = None, async_req: Optional[bool]=True, **kwargs) -> FileReaderBuilderResponse: # noqa: E501
|
|
555
553
|
...
|
|
556
554
|
|
|
557
555
|
@validate_arguments
|
|
558
|
-
def put_file_read_design_to_sql(self, file_reader_builder_def : Annotated[FileReaderBuilderDef, Field(
|
|
556
|
+
def put_file_read_design_to_sql(self, file_reader_builder_def : Annotated[FileReaderBuilderDef, Field(description="Structured file read design object to generate SQL from")], execute_query : Annotated[Optional[StrictBool], Field(description="Should the generated query be executed to build preview data or determine errors.>")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[FileReaderBuilderResponse, Awaitable[FileReaderBuilderResponse]]: # noqa: E501
|
|
559
557
|
"""PutFileReadDesignToSql: Make file read SQL from a design object # noqa: E501
|
|
560
558
|
|
|
561
559
|
Generates SQL from a FileReaderBuilderDef object > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -588,7 +586,7 @@ class SqlDesignApi:
|
|
|
588
586
|
return self.put_file_read_design_to_sql_with_http_info(file_reader_builder_def, execute_query, **kwargs) # noqa: E501
|
|
589
587
|
|
|
590
588
|
@validate_arguments
|
|
591
|
-
def put_file_read_design_to_sql_with_http_info(self, file_reader_builder_def : Annotated[FileReaderBuilderDef, Field(
|
|
589
|
+
def put_file_read_design_to_sql_with_http_info(self, file_reader_builder_def : Annotated[FileReaderBuilderDef, Field(description="Structured file read design object to generate SQL from")], execute_query : Annotated[Optional[StrictBool], Field(description="Should the generated query be executed to build preview data or determine errors.>")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
592
590
|
"""PutFileReadDesignToSql: Make file read SQL from a design object # noqa: E501
|
|
593
591
|
|
|
594
592
|
Generates SQL from a FileReaderBuilderDef object > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -875,15 +873,15 @@ class SqlDesignApi:
|
|
|
875
873
|
|
|
876
874
|
|
|
877
875
|
@overload
|
|
878
|
-
async def put_inlined_properties_design_to_sql(self, inlined_property_design : Annotated[InlinedPropertyDesign, Field(
|
|
876
|
+
async def put_inlined_properties_design_to_sql(self, inlined_property_design : Annotated[InlinedPropertyDesign, Field(description="Inlined properties Designer specification to generate SQL from")], **kwargs) -> str: # noqa: E501
|
|
879
877
|
...
|
|
880
878
|
|
|
881
879
|
@overload
|
|
882
|
-
def put_inlined_properties_design_to_sql(self, inlined_property_design : Annotated[InlinedPropertyDesign, Field(
|
|
880
|
+
def put_inlined_properties_design_to_sql(self, inlined_property_design : Annotated[InlinedPropertyDesign, Field(description="Inlined properties Designer specification to generate SQL from")], async_req: Optional[bool]=True, **kwargs) -> str: # noqa: E501
|
|
883
881
|
...
|
|
884
882
|
|
|
885
883
|
@validate_arguments
|
|
886
|
-
def put_inlined_properties_design_to_sql(self, inlined_property_design : Annotated[InlinedPropertyDesign, Field(
|
|
884
|
+
def put_inlined_properties_design_to_sql(self, inlined_property_design : Annotated[InlinedPropertyDesign, Field(description="Inlined properties Designer specification to generate SQL from")], async_req: Optional[bool]=None, **kwargs) -> Union[str, Awaitable[str]]: # noqa: E501
|
|
887
885
|
"""PutInlinedPropertiesDesignToSql: Make inlined properties SQL from a design object # noqa: E501
|
|
888
886
|
|
|
889
887
|
Generates inlined properties SQL from a structured design > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -914,7 +912,7 @@ class SqlDesignApi:
|
|
|
914
912
|
return self.put_inlined_properties_design_to_sql_with_http_info(inlined_property_design, **kwargs) # noqa: E501
|
|
915
913
|
|
|
916
914
|
@validate_arguments
|
|
917
|
-
def put_inlined_properties_design_to_sql_with_http_info(self, inlined_property_design : Annotated[InlinedPropertyDesign, Field(
|
|
915
|
+
def put_inlined_properties_design_to_sql_with_http_info(self, inlined_property_design : Annotated[InlinedPropertyDesign, Field(description="Inlined properties Designer specification to generate SQL from")], **kwargs) -> ApiResponse: # noqa: E501
|
|
918
916
|
"""PutInlinedPropertiesDesignToSql: Make inlined properties SQL from a design object # noqa: E501
|
|
919
917
|
|
|
920
918
|
Generates inlined properties SQL from a structured design > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -1035,15 +1033,15 @@ class SqlDesignApi:
|
|
|
1035
1033
|
|
|
1036
1034
|
|
|
1037
1035
|
@overload
|
|
1038
|
-
async def put_intellisense(self, intellisense_request : Annotated[IntellisenseRequest, Field(
|
|
1036
|
+
async def put_intellisense(self, intellisense_request : Annotated[IntellisenseRequest, Field(description="SQL and a row/colum position within it from which to determine intellisense options for the user to potentially choose from.")], **kwargs) -> IntellisenseResponse: # noqa: E501
|
|
1039
1037
|
...
|
|
1040
1038
|
|
|
1041
1039
|
@overload
|
|
1042
|
-
def put_intellisense(self, intellisense_request : Annotated[IntellisenseRequest, Field(
|
|
1040
|
+
def put_intellisense(self, intellisense_request : Annotated[IntellisenseRequest, Field(description="SQL and a row/colum position within it from which to determine intellisense options for the user to potentially choose from.")], async_req: Optional[bool]=True, **kwargs) -> IntellisenseResponse: # noqa: E501
|
|
1043
1041
|
...
|
|
1044
1042
|
|
|
1045
1043
|
@validate_arguments
|
|
1046
|
-
def put_intellisense(self, intellisense_request : Annotated[IntellisenseRequest, Field(
|
|
1044
|
+
def put_intellisense(self, intellisense_request : Annotated[IntellisenseRequest, Field(description="SQL and a row/colum position within it from which to determine intellisense options for the user to potentially choose from.")], async_req: Optional[bool]=None, **kwargs) -> Union[IntellisenseResponse, Awaitable[IntellisenseResponse]]: # noqa: E501
|
|
1047
1045
|
"""PutIntellisense: Make intellisense prompts given an SQL snip-it # noqa: E501
|
|
1048
1046
|
|
|
1049
1047
|
Generate a set of possible intellisense prompts given a SQL snip-it (in need not yet be valid SQL) and cursor location > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -1074,7 +1072,7 @@ class SqlDesignApi:
|
|
|
1074
1072
|
return self.put_intellisense_with_http_info(intellisense_request, **kwargs) # noqa: E501
|
|
1075
1073
|
|
|
1076
1074
|
@validate_arguments
|
|
1077
|
-
def put_intellisense_with_http_info(self, intellisense_request : Annotated[IntellisenseRequest, Field(
|
|
1075
|
+
def put_intellisense_with_http_info(self, intellisense_request : Annotated[IntellisenseRequest, Field(description="SQL and a row/colum position within it from which to determine intellisense options for the user to potentially choose from.")], **kwargs) -> ApiResponse: # noqa: E501
|
|
1078
1076
|
"""PutIntellisense: Make intellisense prompts given an SQL snip-it # noqa: E501
|
|
1079
1077
|
|
|
1080
1078
|
Generate a set of possible intellisense prompts given a SQL snip-it (in need not yet be valid SQL) and cursor location > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -1195,15 +1193,15 @@ class SqlDesignApi:
|
|
|
1195
1193
|
|
|
1196
1194
|
|
|
1197
1195
|
@overload
|
|
1198
|
-
async def put_intellisense_error(self, error_highlight_request : Annotated[ErrorHighlightRequest, Field(
|
|
1196
|
+
async def put_intellisense_error(self, error_highlight_request : Annotated[ErrorHighlightRequest, Field(description="SQL (by line) to syntax check and return error ranges from within, if any.")], **kwargs) -> ErrorHighlightResponse: # noqa: E501
|
|
1199
1197
|
...
|
|
1200
1198
|
|
|
1201
1199
|
@overload
|
|
1202
|
-
def put_intellisense_error(self, error_highlight_request : Annotated[ErrorHighlightRequest, Field(
|
|
1200
|
+
def put_intellisense_error(self, error_highlight_request : Annotated[ErrorHighlightRequest, Field(description="SQL (by line) to syntax check and return error ranges from within, if any.")], async_req: Optional[bool]=True, **kwargs) -> ErrorHighlightResponse: # noqa: E501
|
|
1203
1201
|
...
|
|
1204
1202
|
|
|
1205
1203
|
@validate_arguments
|
|
1206
|
-
def put_intellisense_error(self, error_highlight_request : Annotated[ErrorHighlightRequest, Field(
|
|
1204
|
+
def put_intellisense_error(self, error_highlight_request : Annotated[ErrorHighlightRequest, Field(description="SQL (by line) to syntax check and return error ranges from within, if any.")], async_req: Optional[bool]=None, **kwargs) -> Union[ErrorHighlightResponse, Awaitable[ErrorHighlightResponse]]: # noqa: E501
|
|
1207
1205
|
"""PutIntellisenseError: Get error ranges from SQL # noqa: E501
|
|
1208
1206
|
|
|
1209
1207
|
Generate a set of error ranges, if any, in the given SQL (expressed as Lines) > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -1234,7 +1232,7 @@ class SqlDesignApi:
|
|
|
1234
1232
|
return self.put_intellisense_error_with_http_info(error_highlight_request, **kwargs) # noqa: E501
|
|
1235
1233
|
|
|
1236
1234
|
@validate_arguments
|
|
1237
|
-
def put_intellisense_error_with_http_info(self, error_highlight_request : Annotated[ErrorHighlightRequest, Field(
|
|
1235
|
+
def put_intellisense_error_with_http_info(self, error_highlight_request : Annotated[ErrorHighlightRequest, Field(description="SQL (by line) to syntax check and return error ranges from within, if any.")], **kwargs) -> ApiResponse: # noqa: E501
|
|
1238
1236
|
"""PutIntellisenseError: Get error ranges from SQL # noqa: E501
|
|
1239
1237
|
|
|
1240
1238
|
Generate a set of error ranges, if any, in the given SQL (expressed as Lines) > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -1515,15 +1513,15 @@ class SqlDesignApi:
|
|
|
1515
1513
|
|
|
1516
1514
|
|
|
1517
1515
|
@overload
|
|
1518
|
-
async def put_query_design_to_sql(self, query_design : Annotated[QueryDesign, Field(
|
|
1516
|
+
async def put_query_design_to_sql(self, query_design : Annotated[QueryDesign, Field(description="Structured Query design object to generate SQL from")], **kwargs) -> str: # noqa: E501
|
|
1519
1517
|
...
|
|
1520
1518
|
|
|
1521
1519
|
@overload
|
|
1522
|
-
def put_query_design_to_sql(self, query_design : Annotated[QueryDesign, Field(
|
|
1520
|
+
def put_query_design_to_sql(self, query_design : Annotated[QueryDesign, Field(description="Structured Query design object to generate SQL from")], async_req: Optional[bool]=True, **kwargs) -> str: # noqa: E501
|
|
1523
1521
|
...
|
|
1524
1522
|
|
|
1525
1523
|
@validate_arguments
|
|
1526
|
-
def put_query_design_to_sql(self, query_design : Annotated[QueryDesign, Field(
|
|
1524
|
+
def put_query_design_to_sql(self, query_design : Annotated[QueryDesign, Field(description="Structured Query design object to generate SQL from")], async_req: Optional[bool]=None, **kwargs) -> Union[str, Awaitable[str]]: # noqa: E501
|
|
1527
1525
|
"""PutQueryDesignToSql: Make SQL from a structured query design # noqa: E501
|
|
1528
1526
|
|
|
1529
1527
|
Generates SQL from a QueryDesign object > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -1554,7 +1552,7 @@ class SqlDesignApi:
|
|
|
1554
1552
|
return self.put_query_design_to_sql_with_http_info(query_design, **kwargs) # noqa: E501
|
|
1555
1553
|
|
|
1556
1554
|
@validate_arguments
|
|
1557
|
-
def put_query_design_to_sql_with_http_info(self, query_design : Annotated[QueryDesign, Field(
|
|
1555
|
+
def put_query_design_to_sql_with_http_info(self, query_design : Annotated[QueryDesign, Field(description="Structured Query design object to generate SQL from")], **kwargs) -> ApiResponse: # noqa: E501
|
|
1558
1556
|
"""PutQueryDesignToSql: Make SQL from a structured query design # noqa: E501
|
|
1559
1557
|
|
|
1560
1558
|
Generates SQL from a QueryDesign object > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -2771,15 +2769,15 @@ class SqlDesignApi:
|
|
|
2771
2769
|
|
|
2772
2770
|
|
|
2773
2771
|
@overload
|
|
2774
|
-
async def put_view_design_to_sql(self, convert_to_view_data : Annotated[ConvertToViewData, Field(
|
|
2772
|
+
async def put_view_design_to_sql(self, convert_to_view_data : Annotated[ConvertToViewData, Field(description="Structured Query design object to generate SQL from")], **kwargs) -> str: # noqa: E501
|
|
2775
2773
|
...
|
|
2776
2774
|
|
|
2777
2775
|
@overload
|
|
2778
|
-
def put_view_design_to_sql(self, convert_to_view_data : Annotated[ConvertToViewData, Field(
|
|
2776
|
+
def put_view_design_to_sql(self, convert_to_view_data : Annotated[ConvertToViewData, Field(description="Structured Query design object to generate SQL from")], async_req: Optional[bool]=True, **kwargs) -> str: # noqa: E501
|
|
2779
2777
|
...
|
|
2780
2778
|
|
|
2781
2779
|
@validate_arguments
|
|
2782
|
-
def put_view_design_to_sql(self, convert_to_view_data : Annotated[ConvertToViewData, Field(
|
|
2780
|
+
def put_view_design_to_sql(self, convert_to_view_data : Annotated[ConvertToViewData, Field(description="Structured Query design object to generate SQL from")], async_req: Optional[bool]=None, **kwargs) -> Union[str, Awaitable[str]]: # noqa: E501
|
|
2783
2781
|
"""PutViewDesignToSql: Make view creation sql from a view-design # noqa: E501
|
|
2784
2782
|
|
|
2785
2783
|
Converts a ConvertToView specification into SQL that creates a view > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -2810,7 +2808,7 @@ class SqlDesignApi:
|
|
|
2810
2808
|
return self.put_view_design_to_sql_with_http_info(convert_to_view_data, **kwargs) # noqa: E501
|
|
2811
2809
|
|
|
2812
2810
|
@validate_arguments
|
|
2813
|
-
def put_view_design_to_sql_with_http_info(self, convert_to_view_data : Annotated[ConvertToViewData, Field(
|
|
2811
|
+
def put_view_design_to_sql_with_http_info(self, convert_to_view_data : Annotated[ConvertToViewData, Field(description="Structured Query design object to generate SQL from")], **kwargs) -> ApiResponse: # noqa: E501
|
|
2814
2812
|
"""PutViewDesignToSql: Make view creation sql from a view-design # noqa: E501
|
|
2815
2813
|
|
|
2816
2814
|
Converts a ConvertToView specification into SQL that creates a view > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -2931,15 +2929,15 @@ class SqlDesignApi:
|
|
|
2931
2929
|
|
|
2932
2930
|
|
|
2933
2931
|
@overload
|
|
2934
|
-
async def put_writer_design_to_sql(self, writer_design : Annotated[WriterDesign, Field(
|
|
2932
|
+
async def put_writer_design_to_sql(self, writer_design : Annotated[WriterDesign, Field(description="Structured Writer Design design object to generate Writer SQL from")], **kwargs) -> str: # noqa: E501
|
|
2935
2933
|
...
|
|
2936
2934
|
|
|
2937
2935
|
@overload
|
|
2938
|
-
def put_writer_design_to_sql(self, writer_design : Annotated[WriterDesign, Field(
|
|
2936
|
+
def put_writer_design_to_sql(self, writer_design : Annotated[WriterDesign, Field(description="Structured Writer Design design object to generate Writer SQL from")], async_req: Optional[bool]=True, **kwargs) -> str: # noqa: E501
|
|
2939
2937
|
...
|
|
2940
2938
|
|
|
2941
2939
|
@validate_arguments
|
|
2942
|
-
def put_writer_design_to_sql(self, writer_design : Annotated[WriterDesign, Field(
|
|
2940
|
+
def put_writer_design_to_sql(self, writer_design : Annotated[WriterDesign, Field(description="Structured Writer Design design object to generate Writer SQL from")], async_req: Optional[bool]=None, **kwargs) -> Union[str, Awaitable[str]]: # noqa: E501
|
|
2943
2941
|
"""PutWriterDesignToSql: Make writer SQL from a writer-design object # noqa: E501
|
|
2944
2942
|
|
|
2945
2943
|
Generates writer SQL from a valid WriterDesign structure > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -2970,7 +2968,7 @@ class SqlDesignApi:
|
|
|
2970
2968
|
return self.put_writer_design_to_sql_with_http_info(writer_design, **kwargs) # noqa: E501
|
|
2971
2969
|
|
|
2972
2970
|
@validate_arguments
|
|
2973
|
-
def put_writer_design_to_sql_with_http_info(self, writer_design : Annotated[WriterDesign, Field(
|
|
2971
|
+
def put_writer_design_to_sql_with_http_info(self, writer_design : Annotated[WriterDesign, Field(description="Structured Writer Design design object to generate Writer SQL from")], **kwargs) -> ApiResponse: # noqa: E501
|
|
2974
2972
|
"""PutWriterDesignToSql: Make writer SQL from a writer-design object # noqa: E501
|
|
2975
2973
|
|
|
2976
2974
|
Generates writer SQL from a valid WriterDesign structure > This method is generally only intended for IDE generation purposes. > It is largely internal to the Finbourne web user interfaces and subject to change without notice. # noqa: E501
|
|
@@ -19,11 +19,9 @@ import warnings
|
|
|
19
19
|
from pydantic.v1 import validate_arguments, ValidationError
|
|
20
20
|
from typing import overload, Optional, Union, Awaitable
|
|
21
21
|
|
|
22
|
-
from
|
|
23
|
-
from pydantic.v1 import Field, StrictBool, StrictInt, StrictStr
|
|
24
|
-
|
|
22
|
+
from pydantic.v1 import Field, StrictBool, StrictBytes, StrictInt, StrictStr
|
|
25
23
|
from typing import Dict, Optional, Union
|
|
26
|
-
|
|
24
|
+
from typing_extensions import Annotated
|
|
27
25
|
|
|
28
26
|
from luminesce.api_client import ApiClient
|
|
29
27
|
from luminesce.api_response import ApiResponse
|
|
@@ -445,7 +445,7 @@ class Configuration:
|
|
|
445
445
|
return "Python SDK Debug Report:\n"\
|
|
446
446
|
"OS: {env}\n"\
|
|
447
447
|
"Python Version: {pyversion}\n"\
|
|
448
|
-
"Version of the API: 1.18.
|
|
448
|
+
"Version of the API: 1.18.826\n"\
|
|
449
449
|
"SDK Package Version: {package_version}".\
|
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
|
451
451
|
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
Do not edit the class manually.
|
|
12
12
|
"""
|
|
13
13
|
|
|
14
|
+
from typing import Any, Optional
|
|
15
|
+
from typing_extensions import Self
|
|
14
16
|
|
|
15
17
|
class OpenApiException(Exception):
|
|
16
18
|
"""The base exception class for all OpenAPIExceptions"""
|
|
@@ -101,17 +103,56 @@ class ApiKeyError(OpenApiException, KeyError):
|
|
|
101
103
|
|
|
102
104
|
class ApiException(OpenApiException):
|
|
103
105
|
|
|
104
|
-
def __init__(
|
|
106
|
+
def __init__(
|
|
107
|
+
self,
|
|
108
|
+
status=None,
|
|
109
|
+
reason=None,
|
|
110
|
+
http_resp=None,
|
|
111
|
+
*,
|
|
112
|
+
body: Optional[str] = None,
|
|
113
|
+
data: Optional[Any] = None,
|
|
114
|
+
) -> None:
|
|
115
|
+
self.status = status
|
|
116
|
+
self.reason = reason
|
|
117
|
+
self.body = body
|
|
118
|
+
self.data = data
|
|
119
|
+
self.headers = None
|
|
120
|
+
|
|
105
121
|
if http_resp:
|
|
106
|
-
self.status
|
|
107
|
-
|
|
108
|
-
self.
|
|
122
|
+
if self.status is None:
|
|
123
|
+
self.status = http_resp.status
|
|
124
|
+
if self.reason is None:
|
|
125
|
+
self.reason = http_resp.reason
|
|
126
|
+
if self.body is None:
|
|
127
|
+
try:
|
|
128
|
+
self.body = http_resp.data.decode('utf-8')
|
|
129
|
+
except Exception:
|
|
130
|
+
pass
|
|
109
131
|
self.headers = http_resp.getheaders()
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
132
|
+
|
|
133
|
+
@classmethod
|
|
134
|
+
def from_response(
|
|
135
|
+
cls,
|
|
136
|
+
*,
|
|
137
|
+
http_resp,
|
|
138
|
+
body: Optional[str],
|
|
139
|
+
data: Optional[Any],
|
|
140
|
+
) -> Self:
|
|
141
|
+
if http_resp.status == 400:
|
|
142
|
+
raise BadRequestException(http_resp=http_resp, body=body, data=data)
|
|
143
|
+
|
|
144
|
+
if http_resp.status == 401:
|
|
145
|
+
raise UnauthorizedException(http_resp=http_resp, body=body, data=data)
|
|
146
|
+
|
|
147
|
+
if http_resp.status == 403:
|
|
148
|
+
raise ForbiddenException(http_resp=http_resp, body=body, data=data)
|
|
149
|
+
|
|
150
|
+
if http_resp.status == 404:
|
|
151
|
+
raise NotFoundException(http_resp=http_resp, body=body, data=data)
|
|
152
|
+
|
|
153
|
+
if 500 <= http_resp.status <= 599:
|
|
154
|
+
raise ServiceException(http_resp=http_resp, body=body, data=data)
|
|
155
|
+
raise ApiException(http_resp=http_resp, body=body, data=data)
|
|
115
156
|
|
|
116
157
|
def __str__(self):
|
|
117
158
|
"""Custom error messages for exception"""
|
|
@@ -121,38 +162,30 @@ class ApiException(OpenApiException):
|
|
|
121
162
|
error_message += "HTTP response headers: {0}\n".format(
|
|
122
163
|
self.headers)
|
|
123
164
|
|
|
124
|
-
if self.body:
|
|
125
|
-
error_message += "HTTP response body: {0}\n".format(self.body)
|
|
165
|
+
if self.data or self.body:
|
|
166
|
+
error_message += "HTTP response body: {0}\n".format(self.data or self.body)
|
|
126
167
|
|
|
127
168
|
return error_message
|
|
128
169
|
|
|
170
|
+
|
|
129
171
|
class BadRequestException(ApiException):
|
|
172
|
+
pass
|
|
130
173
|
|
|
131
|
-
def __init__(self, status=None, reason=None, http_resp=None) -> None:
|
|
132
|
-
super(BadRequestException, self).__init__(status, reason, http_resp)
|
|
133
174
|
|
|
134
175
|
class NotFoundException(ApiException):
|
|
135
|
-
|
|
136
|
-
def __init__(self, status=None, reason=None, http_resp=None) -> None:
|
|
137
|
-
super(NotFoundException, self).__init__(status, reason, http_resp)
|
|
176
|
+
pass
|
|
138
177
|
|
|
139
178
|
|
|
140
179
|
class UnauthorizedException(ApiException):
|
|
141
|
-
|
|
142
|
-
def __init__(self, status=None, reason=None, http_resp=None) -> None:
|
|
143
|
-
super(UnauthorizedException, self).__init__(status, reason, http_resp)
|
|
180
|
+
pass
|
|
144
181
|
|
|
145
182
|
|
|
146
183
|
class ForbiddenException(ApiException):
|
|
147
|
-
|
|
148
|
-
def __init__(self, status=None, reason=None, http_resp=None) -> None:
|
|
149
|
-
super(ForbiddenException, self).__init__(status, reason, http_resp)
|
|
184
|
+
pass
|
|
150
185
|
|
|
151
186
|
|
|
152
187
|
class ServiceException(ApiException):
|
|
153
|
-
|
|
154
|
-
def __init__(self, status=None, reason=None, http_resp=None) -> None:
|
|
155
|
-
super(ServiceException, self).__init__(status, reason, http_resp)
|
|
188
|
+
pass
|
|
156
189
|
|
|
157
190
|
|
|
158
191
|
def render_path(path_to_item):
|
|
@@ -18,8 +18,10 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
from typing import
|
|
22
|
-
from
|
|
21
|
+
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
|
|
24
|
+
from datetime import datetime
|
|
23
25
|
from luminesce.models.action_id import ActionId
|
|
24
26
|
from luminesce.models.id_selector_definition import IdSelectorDefinition
|
|
25
27
|
|
|
@@ -29,7 +31,7 @@ class AccessControlledAction(BaseModel):
|
|
|
29
31
|
"""
|
|
30
32
|
description: Optional[StrictStr] = Field(None,alias="description")
|
|
31
33
|
action: Optional[ActionId] = None
|
|
32
|
-
limited_set: Optional[
|
|
34
|
+
limited_set: Optional[List[IdSelectorDefinition]] = Field(default=None, alias="limitedSet")
|
|
33
35
|
__properties = ["description", "action", "limitedSet"]
|
|
34
36
|
|
|
35
37
|
class Config:
|
|
@@ -101,3 +103,5 @@ class AccessControlledAction(BaseModel):
|
|
|
101
103
|
"limited_set": [IdSelectorDefinition.from_dict(_item) for _item in obj.get("limitedSet")] if obj.get("limitedSet") is not None else None
|
|
102
104
|
})
|
|
103
105
|
return _obj
|
|
106
|
+
|
|
107
|
+
AccessControlledAction.update_forward_refs()
|
|
@@ -18,8 +18,10 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
from typing import
|
|
22
|
-
from
|
|
21
|
+
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
|
|
24
|
+
from datetime import datetime
|
|
23
25
|
from luminesce.models.access_controlled_action import AccessControlledAction
|
|
24
26
|
from luminesce.models.access_controlled_resource_identifier_part_schema_attribute import AccessControlledResourceIdentifierPartSchemaAttribute
|
|
25
27
|
|
|
@@ -30,8 +32,8 @@ class AccessControlledResource(BaseModel):
|
|
|
30
32
|
application: Optional[StrictStr] = Field(None,alias="application")
|
|
31
33
|
name: Optional[StrictStr] = Field(None,alias="name")
|
|
32
34
|
description: Optional[StrictStr] = Field(None,alias="description")
|
|
33
|
-
actions: Optional[
|
|
34
|
-
identifier_parts: Optional[
|
|
35
|
+
actions: Optional[List[AccessControlledAction]] = None
|
|
36
|
+
identifier_parts: Optional[List[AccessControlledResourceIdentifierPartSchemaAttribute]] = Field(default=None, alias="identifierParts")
|
|
35
37
|
__properties = ["application", "name", "description", "actions", "identifierParts"]
|
|
36
38
|
|
|
37
39
|
class Config:
|
|
@@ -124,3 +126,5 @@ class AccessControlledResource(BaseModel):
|
|
|
124
126
|
"identifier_parts": [AccessControlledResourceIdentifierPartSchemaAttribute.from_dict(_item) for _item in obj.get("identifierParts")] if obj.get("identifierParts") is not None else None
|
|
125
127
|
})
|
|
126
128
|
return _obj
|
|
129
|
+
|
|
130
|
+
AccessControlledResource.update_forward_refs()
|
|
@@ -18,8 +18,10 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
from typing import
|
|
22
|
-
from
|
|
21
|
+
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
|
|
24
|
+
from datetime import datetime
|
|
23
25
|
|
|
24
26
|
class AccessControlledResourceIdentifierPartSchemaAttribute(BaseModel):
|
|
25
27
|
"""
|
|
@@ -31,7 +33,7 @@ class AccessControlledResourceIdentifierPartSchemaAttribute(BaseModel):
|
|
|
31
33
|
description: Optional[StrictStr] = Field(None,alias="description")
|
|
32
34
|
required: Optional[StrictBool] = None
|
|
33
35
|
values_path: Optional[StrictStr] = Field(None,alias="valuesPath")
|
|
34
|
-
type_id: Optional[Any] = Field(None, alias="typeId")
|
|
36
|
+
type_id: Optional[Any] = Field(default=None, alias="typeId")
|
|
35
37
|
__properties = ["index", "name", "displayName", "description", "required", "valuesPath", "typeId"]
|
|
36
38
|
|
|
37
39
|
class Config:
|
|
@@ -113,3 +115,5 @@ class AccessControlledResourceIdentifierPartSchemaAttribute(BaseModel):
|
|
|
113
115
|
"type_id": obj.get("typeId")
|
|
114
116
|
})
|
|
115
117
|
return _obj
|
|
118
|
+
|
|
119
|
+
AccessControlledResourceIdentifierPartSchemaAttribute.update_forward_refs()
|