linq-python 0.2.1__py3-none-any.whl → 0.2.2__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.
linq/_base_client.py CHANGED
@@ -558,6 +558,10 @@ class BaseClient(Generic[_HttpxClientT, _DefaultStreamT]):
558
558
  files = cast(HttpxRequestFiles, ForceMultipartDict())
559
559
 
560
560
  prepared_url = self._prepare_url(options.url)
561
+ # preserve hard-coded query params from the url
562
+ if params and prepared_url.query:
563
+ params = {**dict(prepared_url.params.items()), **params}
564
+ prepared_url = prepared_url.copy_with(raw_path=prepared_url.raw_path.split(b"?", 1)[0])
561
565
  if "_" in prepared_url.host:
562
566
  # work around https://github.com/encode/httpx/discussions/2880
563
567
  kwargs["extensions"] = {"sni_hostname": prepared_url.host.replace("_", "-")}
linq/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "linq"
4
- __version__ = "0.2.1" # x-release-please-version
4
+ __version__ = "0.2.2" # x-release-please-version
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: linq-python
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: The official Python library for the linq-api-v3 API
5
5
  Project-URL: Homepage, https://github.com/linq-team/linq-python
6
6
  Project-URL: Repository, https://github.com/linq-team/linq-python
@@ -1,5 +1,5 @@
1
1
  linq/__init__.py,sha256=ts1KFx6BRdf6QRm0qZxY7dikdKavSr5G-nGo1IXXQcw,2677
2
- linq/_base_client.py,sha256=SDyUcqzk9YKJRrcL_gmy1Ryq0vlYZZBik_FgxrfxQvs,74290
2
+ linq/_base_client.py,sha256=TBqez8P-mEvS7VuLXqKFoGLSGinzJsUjI5_LBOcR2ig,74557
3
3
  linq/_client.py,sha256=Z0Zu3KsWLftXW6xJuFeYWKqMMIpbJY6Wx8E_L_j7pSs,101591
4
4
  linq/_compat.py,sha256=_9guQfzYnL3DNtudX5W7T2cdSskx89B5AFfhPQDxMUk,6811
5
5
  linq/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
@@ -11,7 +11,7 @@ linq/_resource.py,sha256=IvbBkxho8w_Ru0GHWOBUDwiuaI-CQoi8WWQJZCkfhyg,1118
11
11
  linq/_response.py,sha256=Pyf_g81OCXWawxoGZDNp6h1sHMlDgCOsM5vI9fGEBKE,28923
12
12
  linq/_streaming.py,sha256=zmn_k0MQ0d2f4KisSxNc4cqa3mTw2j75iPRyTL5jk9I,10562
13
13
  linq/_types.py,sha256=C3roEXRjDIicI14d6zJMb2C_vkZ8cffHg00DP0UrGYI,7639
14
- linq/_version.py,sha256=dDjWLXYUq0ESkKAhx_YSTF_R4FZNXB1jAPASMpmHfMw,156
14
+ linq/_version.py,sha256=PPI3DKy8U4Yx3FKD2_EbIewlbp2cVzzL5DuFlVqziCo,156
15
15
  linq/pagination.py,sha256=LxWl_sqhWdi6dYzDK1QyEIJd43fvxXMcCwF6Y4ill9I,2464
16
16
  linq/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  linq/_utils/__init__.py,sha256=DJEWihdzRWrZI23vwocBkgvZCwn9iG7yV0c_9vKaysU,2355
@@ -134,7 +134,7 @@ linq/types/shared_params/__init__.py,sha256=FZWRsA1D5DW6IXxenxo9U8-bDW6YiizL-xaw
134
134
  linq/types/shared_params/reaction_type.py,sha256=MP4ekeDAr9lK0wqdvl6FMVa5s0j2w6JhwF8TcF48aSA,317
135
135
  linq/types/shared_params/service_type.py,sha256=AV_VS3d0v059_wou2dts8Jy-NzbGFXa3_VRRpG42N48,259
136
136
  linq/types/shared_params/text_decoration.py,sha256=H-ph17ldBaFRNhajm77DfqjjtQbTNFJj9sepoHHcD80,881
137
- linq_python-0.2.1.dist-info/METADATA,sha256=glwjCUhT11dsgb1o4aUaUKY7UNy5hcV7V60w59XBFq4,17384
138
- linq_python-0.2.1.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
139
- linq_python-0.2.1.dist-info/licenses/LICENSE,sha256=zP4mO5gBwuMBJx2-sVWVdjklSfevmIQT68JUQfvjy40,11341
140
- linq_python-0.2.1.dist-info/RECORD,,
137
+ linq_python-0.2.2.dist-info/METADATA,sha256=DsfByi6E7f6NXalo5mQ3lqIxFnBQRTsaPpiTJyC-dc4,17384
138
+ linq_python-0.2.2.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
139
+ linq_python-0.2.2.dist-info/licenses/LICENSE,sha256=zP4mO5gBwuMBJx2-sVWVdjklSfevmIQT68JUQfvjy40,11341
140
+ linq_python-0.2.2.dist-info/RECORD,,