looker-sdk 24.4.0__tar.gz → 24.8.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.
Files changed (44) hide show
  1. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/PKG-INFO +1 -1
  2. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/error.py +1 -1
  3. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/sdk/api40/models.py +58 -5
  4. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/sdk/constants.py +1 -1
  5. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/version.py +1 -1
  6. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk.egg-info/PKG-INFO +1 -1
  7. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/LICENSE.txt +0 -0
  8. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/MANIFEST.in +0 -0
  9. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/README.rst +0 -0
  10. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/__init__.py +0 -0
  11. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/py.typed +0 -0
  12. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/rtl/__init__.py +0 -0
  13. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/rtl/api_methods.py +0 -0
  14. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/rtl/api_settings.py +0 -0
  15. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/rtl/auth_session.py +0 -0
  16. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/rtl/auth_token.py +0 -0
  17. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/rtl/constants.py +0 -0
  18. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/rtl/hooks.py +0 -0
  19. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/rtl/model.py +0 -0
  20. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/rtl/requests_transport.py +0 -0
  21. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/rtl/serialize.py +0 -0
  22. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/rtl/transport.py +0 -0
  23. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/sdk/__init__.py +0 -0
  24. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/sdk/api40/__init__.py +0 -0
  25. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk/sdk/api40/methods.py +0 -0
  26. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk.egg-info/SOURCES.txt +0 -0
  27. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk.egg-info/dependency_links.txt +0 -0
  28. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk.egg-info/requires.txt +0 -0
  29. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/looker_sdk.egg-info/top_level.txt +0 -0
  30. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/setup.cfg +0 -0
  31. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/setup.py +0 -0
  32. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/tests/__init__.py +0 -0
  33. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/tests/conftest.py +0 -0
  34. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/tests/integration/__init__.py +0 -0
  35. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/tests/integration/test_methods.py +0 -0
  36. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/tests/integration/test_netrc.py +0 -0
  37. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/tests/rtl/__init__.py +0 -0
  38. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/tests/rtl/test_api_methods.py +0 -0
  39. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/tests/rtl/test_api_settings.py +0 -0
  40. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/tests/rtl/test_auth_session.py +0 -0
  41. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/tests/rtl/test_auth_token.py +0 -0
  42. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/tests/rtl/test_requests_transport.py +0 -0
  43. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/tests/rtl/test_serialize.py +0 -0
  44. {looker_sdk-24.4.0 → looker_sdk-24.8.0}/tests/rtl/test_transport.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: looker_sdk
3
- Version: 24.4.0
3
+ Version: 24.8.0
4
4
  Summary: Looker REST API
5
5
  Home-page: https://pypi.python.org/pypi/looker_sdk
6
6
  Author: Looker Data Sciences, Inc.
@@ -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
- """(https://docs\.looker\.com/r/err/|https://cloud\.google\.com/looker/docs/r/err/)(.*)/(\d{3})(.*)"""
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
 
@@ -21,7 +21,7 @@
21
21
  # SOFTWARE.
22
22
  #
23
23
 
24
- # 340 API models: 257 Spec, 0 Request, 61 Write, 22 Enum
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)
@@ -20,5 +20,5 @@
20
20
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  # THE SOFTWARE.
22
22
 
23
- sdk_version = "24.4"
23
+ sdk_version = "24.8"
24
24
  environment_prefix = "LOOKERSDK"
@@ -20,4 +20,4 @@
20
20
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  # THE SOFTWARE.
22
22
 
23
- __version__ = "24.4.0"
23
+ __version__ = "24.8.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: looker-sdk
3
- Version: 24.4.0
3
+ Version: 24.8.0
4
4
  Summary: Looker REST API
5
5
  Home-page: https://pypi.python.org/pypi/looker_sdk
6
6
  Author: Looker Data Sciences, Inc.
File without changes
File without changes
File without changes
File without changes
File without changes