looker-sdk 25.4.0__tar.gz → 25.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 (42) hide show
  1. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/PKG-INFO +1 -1
  2. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/sdk/api40/methods.py +59 -7
  3. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/sdk/api40/models.py +967 -6
  4. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/sdk/constants.py +1 -1
  5. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/version.py +1 -1
  6. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk.egg-info/PKG-INFO +1 -1
  7. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/LICENSE.txt +0 -0
  8. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/MANIFEST.in +0 -0
  9. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/README.rst +0 -0
  10. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/__init__.py +0 -0
  11. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/error.py +0 -0
  12. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/py.typed +0 -0
  13. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/rtl/__init__.py +0 -0
  14. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/rtl/api_methods.py +0 -0
  15. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/rtl/api_settings.py +0 -0
  16. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/rtl/auth_session.py +0 -0
  17. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/rtl/auth_token.py +0 -0
  18. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/rtl/constants.py +0 -0
  19. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/rtl/hooks.py +0 -0
  20. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/rtl/model.py +0 -0
  21. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/rtl/requests_transport.py +0 -0
  22. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/rtl/serialize.py +0 -0
  23. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/rtl/transport.py +0 -0
  24. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/sdk/__init__.py +0 -0
  25. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk/sdk/api40/__init__.py +0 -0
  26. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk.egg-info/SOURCES.txt +0 -0
  27. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk.egg-info/dependency_links.txt +0 -0
  28. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk.egg-info/requires.txt +0 -0
  29. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/looker_sdk.egg-info/top_level.txt +0 -0
  30. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/setup.cfg +0 -0
  31. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/setup.py +0 -0
  32. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/tests/integration/__init__.py +0 -0
  33. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/tests/integration/test_methods.py +0 -0
  34. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/tests/integration/test_netrc.py +0 -0
  35. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/tests/rtl/__init__.py +0 -0
  36. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/tests/rtl/test_api_methods.py +0 -0
  37. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/tests/rtl/test_api_settings.py +0 -0
  38. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/tests/rtl/test_auth_session.py +0 -0
  39. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/tests/rtl/test_auth_token.py +0 -0
  40. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/tests/rtl/test_requests_transport.py +0 -0
  41. {looker_sdk-25.4.0 → looker_sdk-25.8.0}/tests/rtl/test_serialize.py +0 -0
  42. {looker_sdk-25.4.0 → looker_sdk-25.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: 25.4.0
3
+ Version: 25.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.
@@ -21,7 +21,7 @@
21
21
  # SOFTWARE.
22
22
  #
23
23
 
24
- # 469 API methods
24
+ # 471 API methods
25
25
 
26
26
 
27
27
  # NOTE: Do not edit this file generated by Looker SDK Codegen for API 4.0
@@ -889,9 +889,6 @@ class Looker40SDK(api_methods.APIMethods):
889
889
  # it to disk, do not pass it to a third party, and only pass it through a secure HTTPS
890
890
  # encrypted transport.
891
891
  #
892
- #
893
- # **NOTE**: Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled. Usage of this endpoint is not authorized for Looker Core Standard and Looker Core Enterprise.
894
- #
895
892
  # POST /embed/token_url/me -> mdls.EmbedUrlResponse
896
893
  def create_embed_url_as_me(
897
894
  self,
@@ -4882,6 +4879,8 @@ class Looker40SDK(api_methods.APIMethods):
4882
4879
  # Any UDD (a dashboard which exists in the Looker database rather than as a LookML file) which has a `lookml_link_id`
4883
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.
4884
4881
  #
4882
+ # If the dashboard_ids parameter is specified, only the dashboards with the specified ids will be updated.
4883
+ #
4885
4884
  # For this operation to succeed the user must have permission to view the LookML dashboard, and only linked dashboards
4886
4885
  # that the user has permission to update will be synced.
4887
4886
  #
@@ -4892,9 +4891,10 @@ class Looker40SDK(api_methods.APIMethods):
4892
4891
  self,
4893
4892
  # Id of LookML dashboard, in the form 'model::dashboardname'
4894
4893
  lookml_dashboard_id: str,
4895
- body: mdls.WriteDashboard,
4896
4894
  # If true, and this dashboard is localized, export it with the raw keys, not localized.
4897
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,
4898
4898
  transport_options: Optional[transport.TransportOptions] = None,
4899
4899
  ) -> Sequence[int]:
4900
4900
  """Sync LookML Dashboard"""
@@ -4904,8 +4904,7 @@ class Looker40SDK(api_methods.APIMethods):
4904
4904
  self.patch(
4905
4905
  path=f"/dashboards/{lookml_dashboard_id}/sync",
4906
4906
  structure=Sequence[int],
4907
- query_params={"raw_locale": raw_locale},
4908
- body=body,
4907
+ query_params={"raw_locale": raw_locale, "dashboard_ids": dashboard_ids},
4909
4908
  transport_options=transport_options,
4910
4909
  ),
4911
4910
  )
@@ -8795,6 +8794,59 @@ class Looker40SDK(api_methods.APIMethods):
8795
8794
  )
8796
8795
  return response
8797
8796
 
8797
+ # ### Fetches a CI Run.
8798
+ #
8799
+ # GET /projects/{project_id}/ci/runs/{run_id} -> mdls.ProjectCIRun
8800
+ def get_ci_run(
8801
+ self,
8802
+ # Project Id
8803
+ project_id: str,
8804
+ # Run Id
8805
+ run_id: str,
8806
+ # Requested fields
8807
+ fields: Optional[str] = None,
8808
+ transport_options: Optional[transport.TransportOptions] = None,
8809
+ ) -> mdls.ProjectCIRun:
8810
+ """Fetch Continuous Integration run"""
8811
+ project_id = self.encode_path_param(project_id)
8812
+ run_id = self.encode_path_param(run_id)
8813
+ response = cast(
8814
+ mdls.ProjectCIRun,
8815
+ self.get(
8816
+ path=f"/projects/{project_id}/ci/runs/{run_id}",
8817
+ structure=mdls.ProjectCIRun,
8818
+ query_params={"fields": fields},
8819
+ transport_options=transport_options,
8820
+ ),
8821
+ )
8822
+ return response
8823
+
8824
+ # ### Creates a CI Run.
8825
+ #
8826
+ # POST /projects/{project_id}/ci/run -> mdls.CreateCIRunResponse
8827
+ def create_ci_run(
8828
+ self,
8829
+ # Project Id
8830
+ project_id: str,
8831
+ body: mdls.CreateCIRunRequest,
8832
+ # Requested fields
8833
+ fields: Optional[str] = None,
8834
+ transport_options: Optional[transport.TransportOptions] = None,
8835
+ ) -> mdls.CreateCIRunResponse:
8836
+ """Create a Continuous Integration run"""
8837
+ project_id = self.encode_path_param(project_id)
8838
+ response = cast(
8839
+ mdls.CreateCIRunResponse,
8840
+ self.post(
8841
+ path=f"/projects/{project_id}/ci/run",
8842
+ structure=mdls.CreateCIRunResponse,
8843
+ query_params={"fields": fields},
8844
+ body=body,
8845
+ transport_options=transport_options,
8846
+ ),
8847
+ )
8848
+ return response
8849
+
8798
8850
  # ### Configure Repository Credential for a remote dependency
8799
8851
  #
8800
8852
  # Admin required.