looker-sdk 25.6.0__tar.gz → 25.10.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 (42) hide show
  1. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/PKG-INFO +1 -1
  2. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/error.py +1 -1
  3. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/sdk/api40/methods.py +58 -59
  4. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/sdk/api40/models.py +747 -56
  5. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/sdk/constants.py +1 -1
  6. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/version.py +1 -1
  7. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk.egg-info/PKG-INFO +1 -1
  8. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/LICENSE.txt +0 -0
  9. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/MANIFEST.in +0 -0
  10. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/README.rst +0 -0
  11. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/__init__.py +0 -0
  12. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/py.typed +0 -0
  13. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/rtl/__init__.py +0 -0
  14. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/rtl/api_methods.py +0 -0
  15. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/rtl/api_settings.py +0 -0
  16. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/rtl/auth_session.py +0 -0
  17. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/rtl/auth_token.py +0 -0
  18. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/rtl/constants.py +0 -0
  19. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/rtl/hooks.py +0 -0
  20. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/rtl/model.py +0 -0
  21. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/rtl/requests_transport.py +0 -0
  22. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/rtl/serialize.py +0 -0
  23. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/rtl/transport.py +0 -0
  24. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/sdk/__init__.py +0 -0
  25. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk/sdk/api40/__init__.py +0 -0
  26. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk.egg-info/SOURCES.txt +0 -0
  27. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk.egg-info/dependency_links.txt +0 -0
  28. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk.egg-info/requires.txt +0 -0
  29. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/looker_sdk.egg-info/top_level.txt +0 -0
  30. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/setup.cfg +0 -0
  31. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/setup.py +0 -0
  32. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/tests/integration/__init__.py +0 -0
  33. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/tests/integration/test_methods.py +0 -0
  34. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/tests/integration/test_netrc.py +0 -0
  35. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/tests/rtl/__init__.py +0 -0
  36. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/tests/rtl/test_api_methods.py +0 -0
  37. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/tests/rtl/test_api_settings.py +0 -0
  38. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/tests/rtl/test_auth_session.py +0 -0
  39. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/tests/rtl/test_auth_token.py +0 -0
  40. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/tests/rtl/test_requests_transport.py +0 -0
  41. {looker_sdk-25.6.0 → looker_sdk-25.10.0}/tests/rtl/test_serialize.py +0 -0
  42. {looker_sdk-25.6.0 → looker_sdk-25.10.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: 25.6.0
3
+ Version: 25.10.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.
@@ -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(str(error) for error in self.errors)}
85
+ {sep.join(str(error_details) for error_details in self.errors)}
86
86
  """
87
87
 
88
88
 
@@ -4879,6 +4879,8 @@ class Looker40SDK(api_methods.APIMethods):
4879
4879
  # Any UDD (a dashboard which exists in the Looker database rather than as a LookML file) which has a `lookml_link_id`
4880
4880
  # property value referring to a LookML dashboard's id (model::dashboardname) will be updated so that it matches the current state of the LookML dashboard.
4881
4881
  #
4882
+ # If the dashboard_ids parameter is specified, only the dashboards with the specified ids will be updated.
4883
+ #
4882
4884
  # For this operation to succeed the user must have permission to view the LookML dashboard, and only linked dashboards
4883
4885
  # that the user has permission to update will be synced.
4884
4886
  #
@@ -4889,9 +4891,10 @@ class Looker40SDK(api_methods.APIMethods):
4889
4891
  self,
4890
4892
  # Id of LookML dashboard, in the form 'model::dashboardname'
4891
4893
  lookml_dashboard_id: str,
4892
- body: mdls.WriteDashboard,
4893
4894
  # If true, and this dashboard is localized, export it with the raw keys, not localized.
4894
4895
  raw_locale: Optional[bool] = None,
4896
+ # An array of UDD dashboard IDs to sync. If not specified, all UDD dashboards will be synced.
4897
+ dashboard_ids: Optional[mdls.DelimSequence[str]] = None,
4895
4898
  transport_options: Optional[transport.TransportOptions] = None,
4896
4899
  ) -> Sequence[int]:
4897
4900
  """Sync LookML Dashboard"""
@@ -4901,8 +4904,7 @@ class Looker40SDK(api_methods.APIMethods):
4901
4904
  self.patch(
4902
4905
  path=f"/dashboards/{lookml_dashboard_id}/sync",
4903
4906
  structure=Sequence[int],
4904
- query_params={"raw_locale": raw_locale},
4905
- body=body,
4907
+ query_params={"raw_locale": raw_locale, "dashboard_ids": dashboard_ids},
4906
4908
  transport_options=transport_options,
4907
4909
  ),
4908
4910
  )
@@ -7984,6 +7986,59 @@ class Looker40SDK(api_methods.APIMethods):
7984
7986
 
7985
7987
  # region Project: Manage Projects
7986
7988
 
7989
+ # ### Fetches a CI Run.
7990
+ #
7991
+ # GET /projects/{project_id}/ci/runs/{run_id} -> mdls.ProjectCIRun
7992
+ def get_ci_run(
7993
+ self,
7994
+ # Project Id
7995
+ project_id: str,
7996
+ # Run Id
7997
+ run_id: str,
7998
+ # Requested fields
7999
+ fields: Optional[str] = None,
8000
+ transport_options: Optional[transport.TransportOptions] = None,
8001
+ ) -> mdls.ProjectCIRun:
8002
+ """Fetch Continuous Integration run"""
8003
+ project_id = self.encode_path_param(project_id)
8004
+ run_id = self.encode_path_param(run_id)
8005
+ response = cast(
8006
+ mdls.ProjectCIRun,
8007
+ self.get(
8008
+ path=f"/projects/{project_id}/ci/runs/{run_id}",
8009
+ structure=mdls.ProjectCIRun,
8010
+ query_params={"fields": fields},
8011
+ transport_options=transport_options,
8012
+ ),
8013
+ )
8014
+ return response
8015
+
8016
+ # ### Creates a CI Run.
8017
+ #
8018
+ # POST /projects/{project_id}/ci/run -> mdls.CreateCIRunResponse
8019
+ def create_ci_run(
8020
+ self,
8021
+ # Project Id
8022
+ project_id: str,
8023
+ body: mdls.CreateCIRunRequest,
8024
+ # Requested fields
8025
+ fields: Optional[str] = None,
8026
+ transport_options: Optional[transport.TransportOptions] = None,
8027
+ ) -> mdls.CreateCIRunResponse:
8028
+ """Create a Continuous Integration run"""
8029
+ project_id = self.encode_path_param(project_id)
8030
+ response = cast(
8031
+ mdls.CreateCIRunResponse,
8032
+ self.post(
8033
+ path=f"/projects/{project_id}/ci/run",
8034
+ structure=mdls.CreateCIRunResponse,
8035
+ query_params={"fields": fields},
8036
+ body=body,
8037
+ transport_options=transport_options,
8038
+ ),
8039
+ )
8040
+ return response
8041
+
7987
8042
  # ### Generate Lockfile for All LookML Dependencies
7988
8043
  #
7989
8044
  # Git must have been configured, must be in dev mode and deploy permission required
@@ -8631,9 +8686,6 @@ class Looker40SDK(api_methods.APIMethods):
8631
8686
 
8632
8687
  # ### Get All Git Connection Tests
8633
8688
  #
8634
- # dev mode required.
8635
- # - Call `update_session` to select the 'dev' workspace.
8636
- #
8637
8689
  # Returns a list of tests which can be run against a project's (or the dependency project for the provided remote_url) git connection. Call [Run Git Connection Test](#!/Project/run_git_connection_test) to execute each test in sequence.
8638
8690
  #
8639
8691
  # Tests are ordered by increasing specificity. Tests should be run in the order returned because later tests require functionality tested by tests earlier in the test list.
@@ -8792,59 +8844,6 @@ class Looker40SDK(api_methods.APIMethods):
8792
8844
  )
8793
8845
  return response
8794
8846
 
8795
- # ### Fetches a CI Run.
8796
- #
8797
- # GET /projects/{project_id}/ci/runs/{run_id} -> mdls.ProjectCIRun
8798
- def get_ci_run(
8799
- self,
8800
- # Project Id
8801
- project_id: str,
8802
- # Run Id
8803
- run_id: str,
8804
- # Requested fields
8805
- fields: Optional[str] = None,
8806
- transport_options: Optional[transport.TransportOptions] = None,
8807
- ) -> mdls.ProjectCIRun:
8808
- """Fetch Continuous Integration run"""
8809
- project_id = self.encode_path_param(project_id)
8810
- run_id = self.encode_path_param(run_id)
8811
- response = cast(
8812
- mdls.ProjectCIRun,
8813
- self.get(
8814
- path=f"/projects/{project_id}/ci/runs/{run_id}",
8815
- structure=mdls.ProjectCIRun,
8816
- query_params={"fields": fields},
8817
- transport_options=transport_options,
8818
- ),
8819
- )
8820
- return response
8821
-
8822
- # ### Creates a CI Run.
8823
- #
8824
- # POST /projects/{project_id}/ci/run -> mdls.CreateCIRunResponse
8825
- def create_ci_run(
8826
- self,
8827
- # Project Id
8828
- project_id: str,
8829
- body: mdls.CreateCIRunRequest,
8830
- # Requested fields
8831
- fields: Optional[str] = None,
8832
- transport_options: Optional[transport.TransportOptions] = None,
8833
- ) -> mdls.CreateCIRunResponse:
8834
- """Create a Continuous Integration run"""
8835
- project_id = self.encode_path_param(project_id)
8836
- response = cast(
8837
- mdls.CreateCIRunResponse,
8838
- self.post(
8839
- path=f"/projects/{project_id}/ci/run",
8840
- structure=mdls.CreateCIRunResponse,
8841
- query_params={"fields": fields},
8842
- body=body,
8843
- transport_options=transport_options,
8844
- ),
8845
- )
8846
- return response
8847
-
8848
8847
  # ### Configure Repository Credential for a remote dependency
8849
8848
  #
8850
8849
  # Admin required.