looker-sdk 24.10.0__py3-none-any.whl → 24.12.1__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 CHANGED
@@ -82,7 +82,7 @@ class SDKError(Exception):
82
82
  documentation_url: {self.documentation_url}
83
83
  error_doc_url: {self.error_doc_url}
84
84
  error details:
85
- {sep.join(self.errors)}
85
+ {sep.join(str(error) for error in self.errors)}
86
86
  """
87
87
 
88
88
 
@@ -819,8 +819,11 @@ class Looker40SDK(api_methods.APIMethods):
819
819
  #
820
820
  # This function does not strictly require all group_ids, user attribute names, or model names to exist at the moment the
821
821
  # embed url is created. Unknown group_id, user attribute names or model names will be passed through to the output URL.
822
+ # Because of this, **these parameters are not validated** when the API call is made.
822
823
  #
823
- # To diagnose potential problems with an SSO embed URL, you can copy the signed URL into the Embed URI Validator text box in `<your looker instance>/admin/embed`.
824
+ # The [Get Embed Url](https://cloud.google.com/looker/docs/r/get-signed-url) dialog can be used to determine and validate the correct permissions for signing an embed url.
825
+ # This dialog also provides the SDK syntax for the API call to make. Alternatively, you can copy the signed URL into the Embed URI Validator text box
826
+ # in `<your looker instance>/admin/embed` to diagnose potential problems.
824
827
  #
825
828
  # The `secret_id` parameter is optional. If specified, its value must be the id of an active secret defined in the Looker instance.
826
829
  # if not specified, the URL will be signed using the most recent active signing secret. If there is no active secret for signing embed urls,
@@ -3236,6 +3239,7 @@ class Looker40SDK(api_methods.APIMethods):
3236
3239
  # - data_connector_default_enabled
3237
3240
  # - extension_framework_enabled
3238
3241
  # - extension_load_url_enabled
3242
+ # - instance_config
3239
3243
  # - marketplace_auto_install_enabled
3240
3244
  # - marketplace_automation
3241
3245
  # - marketplace_terms_accepted
@@ -3277,6 +3281,7 @@ class Looker40SDK(api_methods.APIMethods):
3277
3281
  # - data_connector_default_enabled
3278
3282
  # - extension_framework_enabled
3279
3283
  # - extension_load_url_enabled
3284
+ # - instance_config
3280
3285
  # - marketplace_auto_install_enabled
3281
3286
  # - marketplace_automation
3282
3287
  # - marketplace_terms_accepted
@@ -21,7 +21,7 @@
21
21
  # SOFTWARE.
22
22
  #
23
23
 
24
- # 341 API models: 258 Spec, 0 Request, 61 Write, 22 Enum
24
+ # 342 API models: 259 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
@@ -5479,6 +5479,27 @@ class ImportedProject(model.Model):
5479
5479
  self.is_remote = is_remote
5480
5480
 
5481
5481
 
5482
+ @attr.s(auto_attribs=True, init=False)
5483
+ class InstanceConfig(model.Model):
5484
+ """
5485
+ Attributes:
5486
+ feature_flags: Feature flags enabled on the instance
5487
+ license_features: License features enabled on the instance
5488
+ """
5489
+
5490
+ feature_flags: Optional[MutableMapping[str, bool]] = None
5491
+ license_features: Optional[MutableMapping[str, bool]] = None
5492
+
5493
+ def __init__(
5494
+ self,
5495
+ *,
5496
+ feature_flags: Optional[MutableMapping[str, bool]] = None,
5497
+ license_features: Optional[MutableMapping[str, bool]] = None
5498
+ ):
5499
+ self.feature_flags = feature_flags
5500
+ self.license_features = license_features
5501
+
5502
+
5482
5503
  @attr.s(auto_attribs=True, init=False)
5483
5504
  class Integration(model.Model):
5484
5505
  """
@@ -5891,13 +5912,13 @@ class JsonBiFields(model.Model):
5891
5912
  dimensions: Dimensions represent a column in a table, or a computed value based on some sort of column manipulation or combination
5892
5913
  measures: Measures are similar to aggregate functions in SQL (for example, COUNT, SUM, AVG) and represent information about multiple rows
5893
5914
  pivots: Pivots
5894
- table_calculations: Table Calculations (beta: May not be included)
5915
+ table_calculations: Table Calculations
5895
5916
  """
5896
5917
 
5897
5918
  dimensions: Sequence["JsonBiField"]
5898
5919
  measures: Sequence["JsonBiField"]
5899
5920
  pivots: Sequence["JsonBiField"]
5900
- table_calculations: Optional[Sequence["JsonBiTableCalc"]] = None
5921
+ table_calculations: Sequence["JsonBiTableCalc"]
5901
5922
 
5902
5923
  def __init__(
5903
5924
  self,
@@ -5905,7 +5926,7 @@ class JsonBiFields(model.Model):
5905
5926
  dimensions: Sequence["JsonBiField"],
5906
5927
  measures: Sequence["JsonBiField"],
5907
5928
  pivots: Sequence["JsonBiField"],
5908
- table_calculations: Optional[Sequence["JsonBiTableCalc"]] = None
5929
+ table_calculations: Sequence["JsonBiTableCalc"]
5909
5930
  ):
5910
5931
  self.dimensions = dimensions
5911
5932
  self.measures = measures
@@ -10826,6 +10847,7 @@ class SessionConfig(model.Model):
10826
10847
  class Setting(model.Model):
10827
10848
  """
10828
10849
  Attributes:
10850
+ instance_config:
10829
10851
  extension_framework_enabled: Toggle extension framework on or off
10830
10852
  extension_load_url_enabled: (DEPRECATED) Toggle extension load url on or off. Do not use. This is temporary setting that will eventually become a noop and subsequently deleted.
10831
10853
  marketplace_auto_install_enabled: (DEPRECATED) Toggle marketplace auto install on or off. Deprecated - do not use. Auto install can now be enabled via marketplace automation settings
@@ -10849,6 +10871,7 @@ class Setting(model.Model):
10849
10871
  login_notification_text: Login notification text
10850
10872
  """
10851
10873
 
10874
+ instance_config: Optional["InstanceConfig"] = None
10852
10875
  extension_framework_enabled: Optional[bool] = None
10853
10876
  extension_load_url_enabled: Optional[bool] = None
10854
10877
  marketplace_auto_install_enabled: Optional[bool] = None
@@ -10874,6 +10897,7 @@ class Setting(model.Model):
10874
10897
  def __init__(
10875
10898
  self,
10876
10899
  *,
10900
+ instance_config: Optional["InstanceConfig"] = None,
10877
10901
  extension_framework_enabled: Optional[bool] = None,
10878
10902
  extension_load_url_enabled: Optional[bool] = None,
10879
10903
  marketplace_auto_install_enabled: Optional[bool] = None,
@@ -10896,6 +10920,7 @@ class Setting(model.Model):
10896
10920
  login_notification_enabled: Optional[bool] = None,
10897
10921
  login_notification_text: Optional[str] = None
10898
10922
  ):
10923
+ self.instance_config = instance_config
10899
10924
  self.extension_framework_enabled = extension_framework_enabled
10900
10925
  self.extension_load_url_enabled = extension_load_url_enabled
10901
10926
  self.marketplace_auto_install_enabled = marketplace_auto_install_enabled
@@ -15041,7 +15066,7 @@ class WriteSessionConfig(model.Model):
15041
15066
  class WriteSetting(model.Model):
15042
15067
  """
15043
15068
  Dynamic writeable type for Setting removes:
15044
- marketplace_site, embed_enabled, login_notification_enabled, login_notification_text
15069
+ instance_config, marketplace_site, embed_enabled, login_notification_enabled, login_notification_text
15045
15070
 
15046
15071
  Attributes:
15047
15072
  extension_framework_enabled: Toggle extension framework on or off
@@ -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.10"
23
+ sdk_version = "24.12"
24
24
  environment_prefix = "LOOKERSDK"
looker_sdk/version.py CHANGED
@@ -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.10.0"
23
+ __version__ = "24.12.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: looker-sdk
3
- Version: 24.10.0
3
+ Version: 24.12.1
4
4
  Summary: Looker REST API
5
5
  Home-page: https://pypi.python.org/pypi/looker_sdk
6
6
  Author: Looker Data Sciences, Inc.
@@ -1,7 +1,7 @@
1
1
  looker_sdk/__init__.py,sha256=0UOw2v-BP1bNoBIIm-BnyKUpGQB3Zx-JZRmpYyLiIuY,2589
2
- looker_sdk/error.py,sha256=_FqZUxPXZtBazXQh0vT2QJCwe2NCUacZNaTtGf_o9Xg,4917
2
+ looker_sdk/error.py,sha256=XTKuy1zEyhSVd-VCWHKB2zVjj0X7VUzVwq9y9L22Bo0,4941
3
3
  looker_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- looker_sdk/version.py,sha256=cT7RIB_33Go3w_XbHoOoWMpsRMfYHti1fQaTlkNVunI,1156
4
+ looker_sdk/version.py,sha256=srnH8j-gC6cKTpDcs2fepbo4KudWAoxWMY1mBZ6sP5E,1156
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=2o4ARJeemt34EiQrUqVcigqIwqX1TBynTSG9CbQVadI,1187
17
+ looker_sdk/sdk/constants.py,sha256=zfVv6QmXx4WN7hgz9T9FemNKotC60hPAsSKjVYYZkSI,1187
18
18
  looker_sdk/sdk/api40/__init__.py,sha256=Dvx1t9vDBvgEl-p1eeP7ebEC6Q6wb6rASPi7nx3z7dg,18
19
- looker_sdk/sdk/api40/methods.py,sha256=I9V1LwknHljUKDJ1gDMG-VLi_M7B-R1BXXtfHpSBS5Y,511852
20
- looker_sdk/sdk/api40/models.py,sha256=PsZecyyYGZt_4xxx2vtxvGCCQl3cFjdx2xldTl8J5Gw,624989
19
+ looker_sdk/sdk/api40/methods.py,sha256=ffv_D5Jyz31SiDriqin8wC7YuQJLmGxtE7P6TLz1PJU,512232
20
+ looker_sdk/sdk/api40/models.py,sha256=usgn_UteaisQ7pXcfsNXKDjxc22HQbOIrYcHRBgvrD0,625774
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.10.0.dist-info/LICENSE.txt,sha256=N4Rmmbuo5EryYSCXcvjuXL1ZXwyXanRzuGP-dJzwsoE,1094
35
- looker_sdk-24.10.0.dist-info/METADATA,sha256=q2O6uD1Mk5OnjR-8rhh1rDihZlvS7Qjn5gEPLS3btNA,7028
36
- looker_sdk-24.10.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
37
- looker_sdk-24.10.0.dist-info/top_level.txt,sha256=tDPNJRQM_A_Oncxlgxwvnzq7hZDWZaadt_nR8DmORTI,17
38
- looker_sdk-24.10.0.dist-info/RECORD,,
34
+ looker_sdk-24.12.1.dist-info/LICENSE.txt,sha256=N4Rmmbuo5EryYSCXcvjuXL1ZXwyXanRzuGP-dJzwsoE,1094
35
+ looker_sdk-24.12.1.dist-info/METADATA,sha256=FyhRrv82AEvQh8mmyN6zwanX0uiTCgiKi0Rx3dq60PI,7028
36
+ looker_sdk-24.12.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
37
+ looker_sdk-24.12.1.dist-info/top_level.txt,sha256=tDPNJRQM_A_Oncxlgxwvnzq7hZDWZaadt_nR8DmORTI,17
38
+ looker_sdk-24.12.1.dist-info/RECORD,,