looker-sdk 24.2.1__py3-none-any.whl → 24.4.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.
@@ -21,7 +21,7 @@
21
21
  # SOFTWARE.
22
22
  #
23
23
 
24
- # 339 API models: 256 Spec, 0 Request, 61 Write, 22 Enum
24
+ # 340 API models: 257 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
@@ -5778,65 +5778,17 @@ InvestigativeContentType.__new__ = model.safe_enum__new__ # type: ignore
5778
5778
  class JsonBi(model.Model):
5779
5779
  """
5780
5780
  Attributes:
5781
- big_query_metadata:
5782
- fields:
5783
- pivots: Pivots
5784
- has_subtotals: If the query has subtotals
5785
- has_totals: If the query has totals
5786
- columns_truncated: If the query results hit the maximum column limit and additional columns were truncated
5787
- filter_expression: Filter expression applied to the query results
5788
- filters: Filters applied to the query results
5789
- sql: Raw sql query. Null if user does not have permission to view sql
5790
- data: Json query results
5781
+ metadata:
5782
+ rows: Json query results
5791
5783
  """
5792
5784
 
5793
- big_query_metadata: "JsonBiBigQueryMetadata"
5794
- fields: "JsonBiFields"
5795
- pivots: Sequence["JsonBiPivots"]
5796
- has_subtotals: bool
5797
- has_totals: bool
5798
- columns_truncated: str
5799
- filter_expression: str
5800
- filters: MutableMapping[str, Any]
5801
- sql: str
5802
- data: Sequence[str]
5803
- __annotations__ = {
5804
- "big_query_metadata": ForwardRef("JsonBiBigQueryMetadata"),
5805
- "fields": ForwardRef("JsonBiFields"),
5806
- "pivots": Sequence["JsonBiPivots"],
5807
- "has_subtotals": bool,
5808
- "has_totals": bool,
5809
- "columns_truncated": str,
5810
- "filter_expression": str,
5811
- "filters": MutableMapping[str, Any],
5812
- "sql": str,
5813
- "data": Sequence[str],
5814
- }
5785
+ metadata: "JsonBiMetadata"
5786
+ rows: Sequence[str]
5787
+ __annotations__ = {"metadata": ForwardRef("JsonBiMetadata"), "rows": Sequence[str]}
5815
5788
 
5816
- def __init__(
5817
- self,
5818
- *,
5819
- big_query_metadata: "JsonBiBigQueryMetadata",
5820
- fields: "JsonBiFields",
5821
- pivots: Sequence["JsonBiPivots"],
5822
- has_subtotals: bool,
5823
- has_totals: bool,
5824
- columns_truncated: str,
5825
- filter_expression: str,
5826
- filters: MutableMapping[str, Any],
5827
- sql: str,
5828
- data: Sequence[str]
5829
- ):
5830
- self.big_query_metadata = big_query_metadata
5831
- self.fields = fields
5832
- self.pivots = pivots
5833
- self.has_subtotals = has_subtotals
5834
- self.has_totals = has_totals
5835
- self.columns_truncated = columns_truncated
5836
- self.filter_expression = filter_expression
5837
- self.filters = filters
5838
- self.sql = sql
5839
- self.data = data
5789
+ def __init__(self, *, metadata: "JsonBiMetadata", rows: Sequence[str]):
5790
+ self.metadata = metadata
5791
+ self.rows = rows
5840
5792
 
5841
5793
 
5842
5794
  @attr.s(auto_attribs=True, init=False)
@@ -5941,6 +5893,66 @@ class JsonBiFields(model.Model):
5941
5893
  self.pivots = pivots
5942
5894
 
5943
5895
 
5896
+ @attr.s(auto_attribs=True, init=False)
5897
+ class JsonBiMetadata(model.Model):
5898
+ """
5899
+ Attributes:
5900
+ big_query_metadata:
5901
+ fields:
5902
+ pivots: Pivots
5903
+ has_subtotals: If the query has subtotals
5904
+ has_totals: If the query has totals
5905
+ columns_truncated: If the query results hit the maximum column limit and additional columns were truncated
5906
+ filter_expression: Filter expression applied to the query results
5907
+ filters: Filters applied to the query results
5908
+ sql: Raw sql query. Null if user does not have permission to view sql
5909
+ """
5910
+
5911
+ big_query_metadata: "JsonBiBigQueryMetadata"
5912
+ fields: "JsonBiFields"
5913
+ pivots: Sequence["JsonBiPivots"]
5914
+ has_subtotals: bool
5915
+ has_totals: bool
5916
+ columns_truncated: str
5917
+ filter_expression: str
5918
+ filters: MutableMapping[str, Any]
5919
+ sql: str
5920
+ __annotations__ = {
5921
+ "big_query_metadata": ForwardRef("JsonBiBigQueryMetadata"),
5922
+ "fields": ForwardRef("JsonBiFields"),
5923
+ "pivots": Sequence["JsonBiPivots"],
5924
+ "has_subtotals": bool,
5925
+ "has_totals": bool,
5926
+ "columns_truncated": str,
5927
+ "filter_expression": str,
5928
+ "filters": MutableMapping[str, Any],
5929
+ "sql": str,
5930
+ }
5931
+
5932
+ def __init__(
5933
+ self,
5934
+ *,
5935
+ big_query_metadata: "JsonBiBigQueryMetadata",
5936
+ fields: "JsonBiFields",
5937
+ pivots: Sequence["JsonBiPivots"],
5938
+ has_subtotals: bool,
5939
+ has_totals: bool,
5940
+ columns_truncated: str,
5941
+ filter_expression: str,
5942
+ filters: MutableMapping[str, Any],
5943
+ sql: str
5944
+ ):
5945
+ self.big_query_metadata = big_query_metadata
5946
+ self.fields = fields
5947
+ self.pivots = pivots
5948
+ self.has_subtotals = has_subtotals
5949
+ self.has_totals = has_totals
5950
+ self.columns_truncated = columns_truncated
5951
+ self.filter_expression = filter_expression
5952
+ self.filters = filters
5953
+ self.sql = sql
5954
+
5955
+
5944
5956
  @attr.s(auto_attribs=True, init=False)
5945
5957
  class JsonBiPivots(model.Model):
5946
5958
  """
@@ -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.2"
23
+ sdk_version = "24.4"
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.2.1"
23
+ __version__ = "24.4.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: looker-sdk
3
- Version: 24.2.1
3
+ Version: 24.4.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.
@@ -1,7 +1,7 @@
1
1
  looker_sdk/__init__.py,sha256=0UOw2v-BP1bNoBIIm-BnyKUpGQB3Zx-JZRmpYyLiIuY,2589
2
2
  looker_sdk/error.py,sha256=4HKjj1f9pZ73USBSMoV5SOFbl8p4VyBBywKUWQGmdiw,4920
3
3
  looker_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- looker_sdk/version.py,sha256=06eJgWh0IbYW9xE9C2WsCa31GfVHKAp0Oq3IEmOd6J0,1155
4
+ looker_sdk/version.py,sha256=VK50Bg5ftY_S2Mph7SAlt0BZn44HzNunxRW3dOGJ9lo,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=tX_oaNye7IOcfmXaRTQWMOjgurF6XGb2LJ3-oam6XWs,1186
17
+ looker_sdk/sdk/constants.py,sha256=wjstQ4zDIQ4E_HAeleue9bmO0BuL0gYML-jRw2BSxdc,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=h-Iyuy0-K-OioCZNTcA9I3r_UQwIyozGMr09FUUGd9w,621915
20
+ looker_sdk/sdk/api40/models.py,sha256=RpgOyk0KTOwZPiYNxsSMa2TikwTrsN3ikx-kN5iYAGg,622211
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.2.1.dist-info/LICENSE.txt,sha256=N4Rmmbuo5EryYSCXcvjuXL1ZXwyXanRzuGP-dJzwsoE,1094
35
- looker_sdk-24.2.1.dist-info/METADATA,sha256=DflbwMABIMO2fhOGAXt9tJkNeGLRttuoygRjh_e9Qbc,7027
36
- looker_sdk-24.2.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
37
- looker_sdk-24.2.1.dist-info/top_level.txt,sha256=tDPNJRQM_A_Oncxlgxwvnzq7hZDWZaadt_nR8DmORTI,17
38
- looker_sdk-24.2.1.dist-info/RECORD,,
34
+ looker_sdk-24.4.0.dist-info/LICENSE.txt,sha256=N4Rmmbuo5EryYSCXcvjuXL1ZXwyXanRzuGP-dJzwsoE,1094
35
+ looker_sdk-24.4.0.dist-info/METADATA,sha256=1y4XLvsFSmaZupccJqvMRiTs25mTkJ5BW2lD-43WQgQ,7027
36
+ looker_sdk-24.4.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
37
+ looker_sdk-24.4.0.dist-info/top_level.txt,sha256=tDPNJRQM_A_Oncxlgxwvnzq7hZDWZaadt_nR8DmORTI,17
38
+ looker_sdk-24.4.0.dist-info/RECORD,,