looker-sdk 25.0.1__tar.gz → 25.2.0__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.
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/PKG-INFO +1 -1
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/sdk/api40/methods.py +7 -1
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/sdk/api40/models.py +22 -5
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/sdk/constants.py +1 -1
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/version.py +1 -1
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk.egg-info/PKG-INFO +1 -1
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/LICENSE.txt +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/MANIFEST.in +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/README.rst +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/__init__.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/error.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/py.typed +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/rtl/__init__.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/rtl/api_methods.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/rtl/api_settings.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/rtl/auth_session.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/rtl/auth_token.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/rtl/constants.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/rtl/hooks.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/rtl/model.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/rtl/requests_transport.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/rtl/serialize.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/rtl/transport.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/sdk/__init__.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk/sdk/api40/__init__.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk.egg-info/SOURCES.txt +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk.egg-info/dependency_links.txt +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk.egg-info/requires.txt +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/looker_sdk.egg-info/top_level.txt +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/setup.cfg +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/setup.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/tests/integration/__init__.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/tests/integration/test_methods.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/tests/integration/test_netrc.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/tests/rtl/__init__.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/tests/rtl/test_api_methods.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/tests/rtl/test_api_settings.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/tests/rtl/test_auth_session.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/tests/rtl/test_auth_token.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/tests/rtl/test_requests_transport.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/tests/rtl/test_serialize.py +0 -0
- {looker_sdk-25.0.1 → looker_sdk-25.2.0}/tests/rtl/test_transport.py +0 -0
|
@@ -9202,6 +9202,8 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
9202
9202
|
server_table_calcs: Optional[bool] = None,
|
|
9203
9203
|
# Specifies the source of this call.
|
|
9204
9204
|
source: Optional[str] = None,
|
|
9205
|
+
# Return a specialized OAuth error response if a database OAuth error occurs.
|
|
9206
|
+
enable_oauth_error_response: Optional[bool] = None,
|
|
9205
9207
|
transport_options: Optional[transport.TransportOptions] = None,
|
|
9206
9208
|
) -> Union[str, bytes]:
|
|
9207
9209
|
"""Run Query"""
|
|
@@ -9226,6 +9228,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
9226
9228
|
"rebuild_pdts": rebuild_pdts,
|
|
9227
9229
|
"server_table_calcs": server_table_calcs,
|
|
9228
9230
|
"source": source,
|
|
9231
|
+
"enable_oauth_error_response": enable_oauth_error_response,
|
|
9229
9232
|
},
|
|
9230
9233
|
transport_options=transport_options,
|
|
9231
9234
|
),
|
|
@@ -9314,6 +9317,8 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
9314
9317
|
rebuild_pdts: Optional[bool] = None,
|
|
9315
9318
|
# Perform table calculations on query results
|
|
9316
9319
|
server_table_calcs: Optional[bool] = None,
|
|
9320
|
+
# Return a specialized OAuth error response if a database OAuth error occurs.
|
|
9321
|
+
enable_oauth_error_response: Optional[bool] = None,
|
|
9317
9322
|
transport_options: Optional[transport.TransportOptions] = None,
|
|
9318
9323
|
) -> Union[str, bytes]:
|
|
9319
9324
|
"""Run Inline Query"""
|
|
@@ -9336,6 +9341,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
9336
9341
|
"path_prefix": path_prefix,
|
|
9337
9342
|
"rebuild_pdts": rebuild_pdts,
|
|
9338
9343
|
"server_table_calcs": server_table_calcs,
|
|
9344
|
+
"enable_oauth_error_response": enable_oauth_error_response,
|
|
9339
9345
|
},
|
|
9340
9346
|
body=body,
|
|
9341
9347
|
transport_options=transport_options,
|
|
@@ -9576,7 +9582,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
9576
9582
|
self,
|
|
9577
9583
|
# slug of query
|
|
9578
9584
|
slug: str,
|
|
9579
|
-
# Format of result, options are: ["inline_json", "json", "json_detail", "json_fe", "json_bi", "csv", "html", "md", "txt", "xlsx", "gsxml", "sql", "json_label"]
|
|
9585
|
+
# Format of result, options are: ["inline_json", "json", "json_detail", "json_fe", "json_bi", "csv", "html", "md", "txt", "xlsx", "gsxml", "sql", "odc", "json_label"]
|
|
9580
9586
|
result_format: str,
|
|
9581
9587
|
# Defaults to false. If set to true, the HTTP response will have content-disposition and other headers set to make the HTTP response behave as a downloadable attachment instead of as inline content.
|
|
9582
9588
|
download: Optional[str] = None,
|
|
@@ -2186,7 +2186,7 @@ class CreateQueryTask(model.Model):
|
|
|
2186
2186
|
"""
|
|
2187
2187
|
Attributes:
|
|
2188
2188
|
query_id: Id of query to run
|
|
2189
|
-
result_format: Desired async query result format. Valid values are: "inline_json", "json", "json_detail", "json_fe", "json_bi", "csv", "html", "md", "txt", "xlsx", "gsxml", "sql".
|
|
2189
|
+
result_format: Desired async query result format. Valid values are: "inline_json", "json", "json_detail", "json_fe", "json_bi", "csv", "html", "md", "txt", "xlsx", "gsxml", "sql", "odc".
|
|
2190
2190
|
can: Operations the current user is able to perform on this object
|
|
2191
2191
|
source: Source of query task
|
|
2192
2192
|
deferred: Create the task but defer execution
|
|
@@ -3685,6 +3685,7 @@ class DBConnection(model.Model):
|
|
|
3685
3685
|
dialect:
|
|
3686
3686
|
snippets: SQL Runner snippets for this connection
|
|
3687
3687
|
pdts_enabled: True if PDTs are enabled on this connection
|
|
3688
|
+
named_driver_version: JDBC driver version name
|
|
3688
3689
|
host: Host name/address of server; or the string 'localhost' in case of a connection over an SSH tunnel.
|
|
3689
3690
|
port: Port number on server. If the connection is over an SSH tunnel, then the local port associated with the SSH tunnel.
|
|
3690
3691
|
username: Username for server authentication
|
|
@@ -3738,6 +3739,7 @@ class DBConnection(model.Model):
|
|
|
3738
3739
|
bq_storage_project_id: The project id of the default BigQuery storage project.
|
|
3739
3740
|
bq_roles_verified: When true, represents that all project roles have been verified.
|
|
3740
3741
|
p4sa_name: The name of P4SA service account that is associated with the Looker instance
|
|
3742
|
+
query_holding_disabled: Disable query holding for this connection.
|
|
3741
3743
|
"""
|
|
3742
3744
|
|
|
3743
3745
|
can: Optional[MutableMapping[str, bool]] = None
|
|
@@ -3745,6 +3747,7 @@ class DBConnection(model.Model):
|
|
|
3745
3747
|
dialect: Optional["Dialect"] = None
|
|
3746
3748
|
snippets: Optional[Sequence["Snippet"]] = None
|
|
3747
3749
|
pdts_enabled: Optional[bool] = None
|
|
3750
|
+
named_driver_version: Optional[str] = None
|
|
3748
3751
|
host: Optional[str] = None
|
|
3749
3752
|
port: Optional[str] = None
|
|
3750
3753
|
username: Optional[str] = None
|
|
@@ -3798,6 +3801,7 @@ class DBConnection(model.Model):
|
|
|
3798
3801
|
bq_storage_project_id: Optional[str] = None
|
|
3799
3802
|
bq_roles_verified: Optional[bool] = None
|
|
3800
3803
|
p4sa_name: Optional[str] = None
|
|
3804
|
+
query_holding_disabled: Optional[bool] = None
|
|
3801
3805
|
|
|
3802
3806
|
def __init__(
|
|
3803
3807
|
self,
|
|
@@ -3807,6 +3811,7 @@ class DBConnection(model.Model):
|
|
|
3807
3811
|
dialect: Optional["Dialect"] = None,
|
|
3808
3812
|
snippets: Optional[Sequence["Snippet"]] = None,
|
|
3809
3813
|
pdts_enabled: Optional[bool] = None,
|
|
3814
|
+
named_driver_version: Optional[str] = None,
|
|
3810
3815
|
host: Optional[str] = None,
|
|
3811
3816
|
port: Optional[str] = None,
|
|
3812
3817
|
username: Optional[str] = None,
|
|
@@ -3859,13 +3864,15 @@ class DBConnection(model.Model):
|
|
|
3859
3864
|
default_bq_connection: Optional[bool] = None,
|
|
3860
3865
|
bq_storage_project_id: Optional[str] = None,
|
|
3861
3866
|
bq_roles_verified: Optional[bool] = None,
|
|
3862
|
-
p4sa_name: Optional[str] = None
|
|
3867
|
+
p4sa_name: Optional[str] = None,
|
|
3868
|
+
query_holding_disabled: Optional[bool] = None
|
|
3863
3869
|
):
|
|
3864
3870
|
self.can = can
|
|
3865
3871
|
self.name = name
|
|
3866
3872
|
self.dialect = dialect
|
|
3867
3873
|
self.snippets = snippets
|
|
3868
3874
|
self.pdts_enabled = pdts_enabled
|
|
3875
|
+
self.named_driver_version = named_driver_version
|
|
3869
3876
|
self.host = host
|
|
3870
3877
|
self.port = port
|
|
3871
3878
|
self.username = username
|
|
@@ -3919,6 +3926,7 @@ class DBConnection(model.Model):
|
|
|
3919
3926
|
self.bq_storage_project_id = bq_storage_project_id
|
|
3920
3927
|
self.bq_roles_verified = bq_roles_verified
|
|
3921
3928
|
self.p4sa_name = p4sa_name
|
|
3929
|
+
self.query_holding_disabled = query_holding_disabled
|
|
3922
3930
|
|
|
3923
3931
|
|
|
3924
3932
|
@attr.s(auto_attribs=True, init=False)
|
|
@@ -9817,7 +9825,7 @@ class RepositoryCredential(model.Model):
|
|
|
9817
9825
|
|
|
9818
9826
|
class ResultFormat(enum.Enum):
|
|
9819
9827
|
"""
|
|
9820
|
-
Desired async query result format. Valid values are: "inline_json", "json", "json_detail", "json_fe", "json_bi", "csv", "html", "md", "txt", "xlsx", "gsxml", "sql". (Enum defined in CreateQueryTask)
|
|
9828
|
+
Desired async query result format. Valid values are: "inline_json", "json", "json_detail", "json_fe", "json_bi", "csv", "html", "md", "txt", "xlsx", "gsxml", "sql", "odc". (Enum defined in CreateQueryTask)
|
|
9821
9829
|
|
|
9822
9830
|
"""
|
|
9823
9831
|
|
|
@@ -9833,6 +9841,7 @@ class ResultFormat(enum.Enum):
|
|
|
9833
9841
|
xlsx = "xlsx"
|
|
9834
9842
|
gsxml = "gsxml"
|
|
9835
9843
|
sql = "sql"
|
|
9844
|
+
odc = "odc"
|
|
9836
9845
|
invalid_api_enum_value = "invalid_api_enum_value"
|
|
9837
9846
|
|
|
9838
9847
|
|
|
@@ -13096,7 +13105,7 @@ class WriteCreateQueryTask(model.Model):
|
|
|
13096
13105
|
|
|
13097
13106
|
Attributes:
|
|
13098
13107
|
query_id: Id of query to run
|
|
13099
|
-
result_format: Desired async query result format. Valid values are: "inline_json", "json", "json_detail", "json_fe", "json_bi", "csv", "html", "md", "txt", "xlsx", "gsxml", "sql".
|
|
13108
|
+
result_format: Desired async query result format. Valid values are: "inline_json", "json", "json_detail", "json_fe", "json_bi", "csv", "html", "md", "txt", "xlsx", "gsxml", "sql", "odc".
|
|
13100
13109
|
source: Source of query task
|
|
13101
13110
|
deferred: Create the task but defer execution
|
|
13102
13111
|
look_id: Id of look associated with query.
|
|
@@ -13587,6 +13596,7 @@ class WriteDBConnection(model.Model):
|
|
|
13587
13596
|
|
|
13588
13597
|
Attributes:
|
|
13589
13598
|
name: Name of the connection. Also used as the unique identifier
|
|
13599
|
+
named_driver_version: JDBC driver version name
|
|
13590
13600
|
host: Host name/address of server; or the string 'localhost' in case of a connection over an SSH tunnel.
|
|
13591
13601
|
port: Port number on server. If the connection is over an SSH tunnel, then the local port associated with the SSH tunnel.
|
|
13592
13602
|
username: Username for server authentication
|
|
@@ -13630,9 +13640,11 @@ class WriteDBConnection(model.Model):
|
|
|
13630
13640
|
connection_pooling: Enable database connection pooling.
|
|
13631
13641
|
bq_storage_project_id: The project id of the default BigQuery storage project.
|
|
13632
13642
|
bq_roles_verified: When true, represents that all project roles have been verified.
|
|
13643
|
+
query_holding_disabled: Disable query holding for this connection.
|
|
13633
13644
|
"""
|
|
13634
13645
|
|
|
13635
13646
|
name: Optional[str] = None
|
|
13647
|
+
named_driver_version: Optional[str] = None
|
|
13636
13648
|
host: Optional[str] = None
|
|
13637
13649
|
port: Optional[str] = None
|
|
13638
13650
|
username: Optional[str] = None
|
|
@@ -13675,11 +13687,13 @@ class WriteDBConnection(model.Model):
|
|
|
13675
13687
|
connection_pooling: Optional[bool] = None
|
|
13676
13688
|
bq_storage_project_id: Optional[str] = None
|
|
13677
13689
|
bq_roles_verified: Optional[bool] = None
|
|
13690
|
+
query_holding_disabled: Optional[bool] = None
|
|
13678
13691
|
|
|
13679
13692
|
def __init__(
|
|
13680
13693
|
self,
|
|
13681
13694
|
*,
|
|
13682
13695
|
name: Optional[str] = None,
|
|
13696
|
+
named_driver_version: Optional[str] = None,
|
|
13683
13697
|
host: Optional[str] = None,
|
|
13684
13698
|
port: Optional[str] = None,
|
|
13685
13699
|
username: Optional[str] = None,
|
|
@@ -13721,9 +13735,11 @@ class WriteDBConnection(model.Model):
|
|
|
13721
13735
|
pdt_api_control_enabled: Optional[bool] = None,
|
|
13722
13736
|
connection_pooling: Optional[bool] = None,
|
|
13723
13737
|
bq_storage_project_id: Optional[str] = None,
|
|
13724
|
-
bq_roles_verified: Optional[bool] = None
|
|
13738
|
+
bq_roles_verified: Optional[bool] = None,
|
|
13739
|
+
query_holding_disabled: Optional[bool] = None
|
|
13725
13740
|
):
|
|
13726
13741
|
self.name = name
|
|
13742
|
+
self.named_driver_version = named_driver_version
|
|
13727
13743
|
self.host = host
|
|
13728
13744
|
self.port = port
|
|
13729
13745
|
self.username = username
|
|
@@ -13766,6 +13782,7 @@ class WriteDBConnection(model.Model):
|
|
|
13766
13782
|
self.connection_pooling = connection_pooling
|
|
13767
13783
|
self.bq_storage_project_id = bq_storage_project_id
|
|
13768
13784
|
self.bq_roles_verified = bq_roles_verified
|
|
13785
|
+
self.query_holding_disabled = query_holding_disabled
|
|
13769
13786
|
|
|
13770
13787
|
|
|
13771
13788
|
@attr.s(auto_attribs=True, init=False)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|