looker-sdk 24.4.0__py3-none-any.whl → 24.8.0__py3-none-any.whl
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/error.py +1 -1
- looker_sdk/sdk/api40/models.py +58 -5
- looker_sdk/sdk/constants.py +1 -1
- looker_sdk/version.py +1 -1
- {looker_sdk-24.4.0.dist-info → looker_sdk-24.8.0.dist-info}/METADATA +1 -1
- {looker_sdk-24.4.0.dist-info → looker_sdk-24.8.0.dist-info}/RECORD +9 -9
- {looker_sdk-24.4.0.dist-info → looker_sdk-24.8.0.dist-info}/LICENSE.txt +0 -0
- {looker_sdk-24.4.0.dist-info → looker_sdk-24.8.0.dist-info}/WHEEL +0 -0
- {looker_sdk-24.4.0.dist-info → looker_sdk-24.8.0.dist-info}/top_level.txt +0 -0
looker_sdk/error.py
CHANGED
|
@@ -99,7 +99,7 @@ class ErrorDocHelper:
|
|
|
99
99
|
ERROR_CODES_URL: str = "https://static-a.cdn.looker.app/errorcodes/"
|
|
100
100
|
lookup_dict: Dict[str, Dict[str, str]] = {}
|
|
101
101
|
RE_PATTERN: str = (
|
|
102
|
-
|
|
102
|
+
r'(https://docs\.looker\.com/r/err/|https://cloud\.google\.com/looker/docs/r/err/)(.*)/(\d{3})(.*)'
|
|
103
103
|
)
|
|
104
104
|
pattern = re.compile(RE_PATTERN, flags=re.IGNORECASE)
|
|
105
105
|
|
looker_sdk/sdk/api40/models.py
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
#
|
|
23
23
|
|
|
24
|
-
#
|
|
24
|
+
# 341 API models: 258 Spec, 0 Request, 61 Write, 22 Enum
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
# NOTE: Do not edit this file generated by Looker SDK Codegen for API 4.0
|
|
@@ -3618,6 +3618,7 @@ class DBConnection(model.Model):
|
|
|
3618
3618
|
always_retry_failed_builds: When true, error PDTs will be retried every regenerator cycle
|
|
3619
3619
|
cost_estimate_enabled: When true, query cost estimate will be displayed in explore.
|
|
3620
3620
|
pdt_api_control_enabled: PDT builds on this connection can be kicked off and cancelled via API.
|
|
3621
|
+
connection_pooling: Enable database connection pooling.
|
|
3621
3622
|
"""
|
|
3622
3623
|
|
|
3623
3624
|
can: Optional[MutableMapping[str, bool]] = None
|
|
@@ -3667,6 +3668,7 @@ class DBConnection(model.Model):
|
|
|
3667
3668
|
always_retry_failed_builds: Optional[bool] = None
|
|
3668
3669
|
cost_estimate_enabled: Optional[bool] = None
|
|
3669
3670
|
pdt_api_control_enabled: Optional[bool] = None
|
|
3671
|
+
connection_pooling: Optional[bool] = None
|
|
3670
3672
|
|
|
3671
3673
|
def __init__(
|
|
3672
3674
|
self,
|
|
@@ -3717,7 +3719,8 @@ class DBConnection(model.Model):
|
|
|
3717
3719
|
oauth_application_id: Optional[str] = None,
|
|
3718
3720
|
always_retry_failed_builds: Optional[bool] = None,
|
|
3719
3721
|
cost_estimate_enabled: Optional[bool] = None,
|
|
3720
|
-
pdt_api_control_enabled: Optional[bool] = None
|
|
3722
|
+
pdt_api_control_enabled: Optional[bool] = None,
|
|
3723
|
+
connection_pooling: Optional[bool] = None
|
|
3721
3724
|
):
|
|
3722
3725
|
self.can = can
|
|
3723
3726
|
self.name = name
|
|
@@ -3766,6 +3769,7 @@ class DBConnection(model.Model):
|
|
|
3766
3769
|
self.always_retry_failed_builds = always_retry_failed_builds
|
|
3767
3770
|
self.cost_estimate_enabled = cost_estimate_enabled
|
|
3768
3771
|
self.pdt_api_control_enabled = pdt_api_control_enabled
|
|
3772
|
+
self.connection_pooling = connection_pooling
|
|
3769
3773
|
|
|
3770
3774
|
|
|
3771
3775
|
@attr.s(auto_attribs=True, init=False)
|
|
@@ -4125,6 +4129,7 @@ class DialectInfoOptions(model.Model):
|
|
|
4125
4129
|
tns: Has Oracle TNS support
|
|
4126
4130
|
username: Username can be specified
|
|
4127
4131
|
username_required: Username is required
|
|
4132
|
+
supports_connection_pooling: Has support for connection pooling
|
|
4128
4133
|
"""
|
|
4129
4134
|
|
|
4130
4135
|
additional_params: Optional[bool] = None
|
|
@@ -4148,6 +4153,7 @@ class DialectInfoOptions(model.Model):
|
|
|
4148
4153
|
tns: Optional[bool] = None
|
|
4149
4154
|
username: Optional[bool] = None
|
|
4150
4155
|
username_required: Optional[bool] = None
|
|
4156
|
+
supports_connection_pooling: Optional[bool] = None
|
|
4151
4157
|
|
|
4152
4158
|
def __init__(
|
|
4153
4159
|
self,
|
|
@@ -4172,7 +4178,8 @@ class DialectInfoOptions(model.Model):
|
|
|
4172
4178
|
tmp_table: Optional[bool] = None,
|
|
4173
4179
|
tns: Optional[bool] = None,
|
|
4174
4180
|
username: Optional[bool] = None,
|
|
4175
|
-
username_required: Optional[bool] = None
|
|
4181
|
+
username_required: Optional[bool] = None,
|
|
4182
|
+
supports_connection_pooling: Optional[bool] = None
|
|
4176
4183
|
):
|
|
4177
4184
|
self.additional_params = additional_params
|
|
4178
4185
|
self.after_connect_statements = after_connect_statements
|
|
@@ -4195,6 +4202,7 @@ class DialectInfoOptions(model.Model):
|
|
|
4195
4202
|
self.tns = tns
|
|
4196
4203
|
self.username = username
|
|
4197
4204
|
self.username_required = username_required
|
|
4205
|
+
self.supports_connection_pooling = supports_connection_pooling
|
|
4198
4206
|
|
|
4199
4207
|
|
|
4200
4208
|
@attr.s(auto_attribs=True, init=False)
|
|
@@ -5875,22 +5883,26 @@ class JsonBiFields(model.Model):
|
|
|
5875
5883
|
dimensions: Dimensions represent a column in a table, or a computed value based on some sort of column manipulation or combination
|
|
5876
5884
|
measures: Measures are similar to aggregate functions in SQL (for example, COUNT, SUM, AVG) and represent information about multiple rows
|
|
5877
5885
|
pivots: Pivots
|
|
5886
|
+
table_calculations: Table Calculations (beta: May not be included)
|
|
5878
5887
|
"""
|
|
5879
5888
|
|
|
5880
5889
|
dimensions: Sequence["JsonBiField"]
|
|
5881
5890
|
measures: Sequence["JsonBiField"]
|
|
5882
5891
|
pivots: Sequence["JsonBiField"]
|
|
5892
|
+
table_calculations: Optional[Sequence["JsonBiTableCalc"]] = None
|
|
5883
5893
|
|
|
5884
5894
|
def __init__(
|
|
5885
5895
|
self,
|
|
5886
5896
|
*,
|
|
5887
5897
|
dimensions: Sequence["JsonBiField"],
|
|
5888
5898
|
measures: Sequence["JsonBiField"],
|
|
5889
|
-
pivots: Sequence["JsonBiField"]
|
|
5899
|
+
pivots: Sequence["JsonBiField"],
|
|
5900
|
+
table_calculations: Optional[Sequence["JsonBiTableCalc"]] = None
|
|
5890
5901
|
):
|
|
5891
5902
|
self.dimensions = dimensions
|
|
5892
5903
|
self.measures = measures
|
|
5893
5904
|
self.pivots = pivots
|
|
5905
|
+
self.table_calculations = table_calculations
|
|
5894
5906
|
|
|
5895
5907
|
|
|
5896
5908
|
@attr.s(auto_attribs=True, init=False)
|
|
@@ -5982,6 +5994,43 @@ class JsonBiPivots(model.Model):
|
|
|
5982
5994
|
self.is_total = is_total
|
|
5983
5995
|
|
|
5984
5996
|
|
|
5997
|
+
@attr.s(auto_attribs=True, init=False)
|
|
5998
|
+
class JsonBiTableCalc(model.Model):
|
|
5999
|
+
"""
|
|
6000
|
+
Attributes:
|
|
6001
|
+
name: Table Calc Name
|
|
6002
|
+
label: Table Calc Label
|
|
6003
|
+
align: Alignment
|
|
6004
|
+
expression: Evaluated table calculation expression
|
|
6005
|
+
value_format: Value format
|
|
6006
|
+
measure: If table calculation is a measure
|
|
6007
|
+
"""
|
|
6008
|
+
|
|
6009
|
+
name: str
|
|
6010
|
+
label: str
|
|
6011
|
+
align: str
|
|
6012
|
+
expression: str
|
|
6013
|
+
value_format: str
|
|
6014
|
+
measure: bool
|
|
6015
|
+
|
|
6016
|
+
def __init__(
|
|
6017
|
+
self,
|
|
6018
|
+
*,
|
|
6019
|
+
name: str,
|
|
6020
|
+
label: str,
|
|
6021
|
+
align: str,
|
|
6022
|
+
expression: str,
|
|
6023
|
+
value_format: str,
|
|
6024
|
+
measure: bool
|
|
6025
|
+
):
|
|
6026
|
+
self.name = name
|
|
6027
|
+
self.label = label
|
|
6028
|
+
self.align = align
|
|
6029
|
+
self.expression = expression
|
|
6030
|
+
self.value_format = value_format
|
|
6031
|
+
self.measure = measure
|
|
6032
|
+
|
|
6033
|
+
|
|
5985
6034
|
@attr.s(auto_attribs=True, init=False)
|
|
5986
6035
|
class LDAPConfig(model.Model):
|
|
5987
6036
|
"""
|
|
@@ -13410,6 +13459,7 @@ class WriteDBConnection(model.Model):
|
|
|
13410
13459
|
always_retry_failed_builds: When true, error PDTs will be retried every regenerator cycle
|
|
13411
13460
|
cost_estimate_enabled: When true, query cost estimate will be displayed in explore.
|
|
13412
13461
|
pdt_api_control_enabled: PDT builds on this connection can be kicked off and cancelled via API.
|
|
13462
|
+
connection_pooling: Enable database connection pooling.
|
|
13413
13463
|
"""
|
|
13414
13464
|
|
|
13415
13465
|
name: Optional[str] = None
|
|
@@ -13447,6 +13497,7 @@ class WriteDBConnection(model.Model):
|
|
|
13447
13497
|
always_retry_failed_builds: Optional[bool] = None
|
|
13448
13498
|
cost_estimate_enabled: Optional[bool] = None
|
|
13449
13499
|
pdt_api_control_enabled: Optional[bool] = None
|
|
13500
|
+
connection_pooling: Optional[bool] = None
|
|
13450
13501
|
|
|
13451
13502
|
def __init__(
|
|
13452
13503
|
self,
|
|
@@ -13485,7 +13536,8 @@ class WriteDBConnection(model.Model):
|
|
|
13485
13536
|
oauth_application_id: Optional[str] = None,
|
|
13486
13537
|
always_retry_failed_builds: Optional[bool] = None,
|
|
13487
13538
|
cost_estimate_enabled: Optional[bool] = None,
|
|
13488
|
-
pdt_api_control_enabled: Optional[bool] = None
|
|
13539
|
+
pdt_api_control_enabled: Optional[bool] = None,
|
|
13540
|
+
connection_pooling: Optional[bool] = None
|
|
13489
13541
|
):
|
|
13490
13542
|
self.name = name
|
|
13491
13543
|
self.host = host
|
|
@@ -13522,6 +13574,7 @@ class WriteDBConnection(model.Model):
|
|
|
13522
13574
|
self.always_retry_failed_builds = always_retry_failed_builds
|
|
13523
13575
|
self.cost_estimate_enabled = cost_estimate_enabled
|
|
13524
13576
|
self.pdt_api_control_enabled = pdt_api_control_enabled
|
|
13577
|
+
self.connection_pooling = connection_pooling
|
|
13525
13578
|
|
|
13526
13579
|
|
|
13527
13580
|
@attr.s(auto_attribs=True, init=False)
|
looker_sdk/sdk/constants.py
CHANGED
looker_sdk/version.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
looker_sdk/__init__.py,sha256=0UOw2v-BP1bNoBIIm-BnyKUpGQB3Zx-JZRmpYyLiIuY,2589
|
|
2
|
-
looker_sdk/error.py,sha256=
|
|
2
|
+
looker_sdk/error.py,sha256=_FqZUxPXZtBazXQh0vT2QJCwe2NCUacZNaTtGf_o9Xg,4917
|
|
3
3
|
looker_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
looker_sdk/version.py,sha256=
|
|
4
|
+
looker_sdk/version.py,sha256=tM_eXxG9Qo87hYFWz2YjJ4DDJklU_4wK548V83bdfhw,1155
|
|
5
5
|
looker_sdk/rtl/__init__.py,sha256=hgj6CO_Du2XcJ4bRYbhaVS3dvLxjCqPQDR8KwD9IPTQ,1132
|
|
6
6
|
looker_sdk/rtl/api_methods.py,sha256=J-dm7UMyJajsJDCB0JMpGUmp80I8oPMs7cggdIaCWng,8862
|
|
7
7
|
looker_sdk/rtl/api_settings.py,sha256=0QbmNhfgjBJNnr1CNEMxCHoiu908jT8amAtSAha1xS8,6953
|
|
@@ -14,10 +14,10 @@ looker_sdk/rtl/requests_transport.py,sha256=2lckuJyjeySAuAn7v-RA_xTjjWe53uCCLSWg
|
|
|
14
14
|
looker_sdk/rtl/serialize.py,sha256=Arm26aGLOhW-uUW4qgV1tTna83A3gNMYcF9YwRvf0gQ,4418
|
|
15
15
|
looker_sdk/rtl/transport.py,sha256=zNCaGmmJBtF87iLS6xtSTwiyEXP0BDdMJafPn0_tIrk,3911
|
|
16
16
|
looker_sdk/sdk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
looker_sdk/sdk/constants.py,sha256=
|
|
17
|
+
looker_sdk/sdk/constants.py,sha256=tOeUuI4NxIcYOkEvcYeaFcrHZIxKfkqEk6Fuip6_x3k,1186
|
|
18
18
|
looker_sdk/sdk/api40/__init__.py,sha256=Dvx1t9vDBvgEl-p1eeP7ebEC6Q6wb6rASPi7nx3z7dg,18
|
|
19
19
|
looker_sdk/sdk/api40/methods.py,sha256=sS2M9ASLWTTT_538NT9vATS9WQdkmUoH0Q6JsxuSWS8,511713
|
|
20
|
-
looker_sdk/sdk/api40/models.py,sha256=
|
|
20
|
+
looker_sdk/sdk/api40/models.py,sha256=FPq2zfv4UKw5bbZXZDJsE6bcRqTnnzJhQ-5x5bc9EZU,623990
|
|
21
21
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
22
|
tests/conftest.py,sha256=ZLymw2rfMVus_CRBbbcxpK3_rEpMJRMQX9A5m2aQgQs,3895
|
|
23
23
|
tests/integration/__init__.py,sha256=K4tvUu8CgFRwtDhDNixHKDDb8uubXgevQBq8JmZvf8Y,63
|
|
@@ -31,8 +31,8 @@ tests/rtl/test_auth_token.py,sha256=Ep4u0ushHqKiIkGgw-XVn1lSzPeH6pVmDB2bw-MXNAo,
|
|
|
31
31
|
tests/rtl/test_requests_transport.py,sha256=mSsxudpAkKe-uSVOIzDrV0XCFlj_ACt6T1yzbUbuwG0,5442
|
|
32
32
|
tests/rtl/test_serialize.py,sha256=1SC8jigZFFL3mrU2oSTnc2nbDxXve224_r3GaxEeU90,25917
|
|
33
33
|
tests/rtl/test_transport.py,sha256=tI83LYOeuWEmkngXyRqMjW-pv-ipLPLj4t0hGD8zqL8,1555
|
|
34
|
-
looker_sdk-24.
|
|
35
|
-
looker_sdk-24.
|
|
36
|
-
looker_sdk-24.
|
|
37
|
-
looker_sdk-24.
|
|
38
|
-
looker_sdk-24.
|
|
34
|
+
looker_sdk-24.8.0.dist-info/LICENSE.txt,sha256=N4Rmmbuo5EryYSCXcvjuXL1ZXwyXanRzuGP-dJzwsoE,1094
|
|
35
|
+
looker_sdk-24.8.0.dist-info/METADATA,sha256=ILDSvstxQrRfuWgQQPOn3pKOaoUv_vA0UTY9KNJ7QGw,7027
|
|
36
|
+
looker_sdk-24.8.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
37
|
+
looker_sdk-24.8.0.dist-info/top_level.txt,sha256=tDPNJRQM_A_Oncxlgxwvnzq7hZDWZaadt_nR8DmORTI,17
|
|
38
|
+
looker_sdk-24.8.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|