cartography-client 0.7.0__py3-none-any.whl → 0.8.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.

Potentially problematic release.


This version of cartography-client might be problematic. Click here for more details.

cartography/_models.py CHANGED
@@ -304,7 +304,7 @@ class BaseModel(pydantic.BaseModel):
304
304
  exclude_none=exclude_none,
305
305
  )
306
306
 
307
- return cast(dict[str, Any], json_safe(dumped)) if mode == "json" else dumped
307
+ return cast("dict[str, Any]", json_safe(dumped)) if mode == "json" else dumped
308
308
 
309
309
  @override
310
310
  def model_dump_json(
cartography/_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__ = "cartography"
4
- __version__ = "0.7.0" # x-release-please-version
4
+ __version__ = "0.8.1" # x-release-please-version
@@ -55,6 +55,7 @@ class CrawlResource(SyncAPIResource):
55
55
  url: str,
56
56
  absolute_only: bool | NotGiven = NOT_GIVEN,
57
57
  batch_size: int | NotGiven = NOT_GIVEN,
58
+ camo: bool | NotGiven = NOT_GIVEN,
58
59
  depth: int | NotGiven = NOT_GIVEN,
59
60
  keep_external: bool | NotGiven = NOT_GIVEN,
60
61
  max_urls: int | NotGiven = NOT_GIVEN,
@@ -91,6 +92,7 @@ class CrawlResource(SyncAPIResource):
91
92
  "url": url,
92
93
  "absolute_only": absolute_only,
93
94
  "batch_size": batch_size,
95
+ "camo": camo,
94
96
  "depth": depth,
95
97
  "keep_external": keep_external,
96
98
  "max_urls": max_urls,
@@ -168,6 +170,7 @@ class AsyncCrawlResource(AsyncAPIResource):
168
170
  url: str,
169
171
  absolute_only: bool | NotGiven = NOT_GIVEN,
170
172
  batch_size: int | NotGiven = NOT_GIVEN,
173
+ camo: bool | NotGiven = NOT_GIVEN,
171
174
  depth: int | NotGiven = NOT_GIVEN,
172
175
  keep_external: bool | NotGiven = NOT_GIVEN,
173
176
  max_urls: int | NotGiven = NOT_GIVEN,
@@ -204,6 +207,7 @@ class AsyncCrawlResource(AsyncAPIResource):
204
207
  "url": url,
205
208
  "absolute_only": absolute_only,
206
209
  "batch_size": batch_size,
210
+ "camo": camo,
207
211
  "depth": depth,
208
212
  "keep_external": keep_external,
209
213
  "max_urls": max_urls,
@@ -21,6 +21,8 @@ class CrawlCreateParams(TypedDict, total=False):
21
21
 
22
22
  batch_size: int
23
23
 
24
+ camo: bool
25
+
24
26
  depth: int
25
27
 
26
28
  keep_external: bool
@@ -21,6 +21,8 @@ class CrawlRequestParam(TypedDict, total=False):
21
21
 
22
22
  batch_size: int
23
23
 
24
+ camo: bool
25
+
24
26
  depth: int
25
27
 
26
28
  keep_external: bool
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: cartography-client
3
- Version: 0.7.0
3
+ Version: 0.8.1
4
4
  Summary: The official Python library for the cartography API
5
5
  Project-URL: Homepage, https://github.com/evrimai/cartography-client
6
6
  Project-URL: Repository, https://github.com/evrimai/cartography-client
@@ -5,13 +5,13 @@ cartography/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
5
5
  cartography/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
6
6
  cartography/_exceptions.py,sha256=Y1r8VIWYSEPrOzRIh0DSiCbzEWDBWYJtZpPrjwhs5jU,3230
7
7
  cartography/_files.py,sha256=KnEzGi_O756MvKyJ4fOCW_u3JhOeWPQ4RsmDvqihDQU,3545
8
- cartography/_models.py,sha256=KvjsMfb88XZlFUKVoOxr8OyDj47MhoH2OKqWNEbBhk4,30010
8
+ cartography/_models.py,sha256=6rDtUmk6jhjGN1q96CUICYfBunNXNhhEk_AqztTm3uE,30012
9
9
  cartography/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
10
10
  cartography/_resource.py,sha256=ofOCE9gyI5yng3FbynF2nNk2n-PfZEnNu89Kv2LGtR8,1130
11
11
  cartography/_response.py,sha256=KTgC3XMyHfxd-QFOw0_eSSH_H9JjFLguHHnlMVgDmYY,28848
12
12
  cartography/_streaming.py,sha256=44nEybod8OtdW8mLkaJGFHaLPYdy7ANKKbdKZxp7BNU,10120
13
13
  cartography/_types.py,sha256=4TMbDeigQ7UCsXAWFGmB-BVvdzbdp4JKq52aMkGgMQU,6202
14
- cartography/_version.py,sha256=SCar_eHXWXr-raUUAYrcB0pzzQEQkYotYLZdTeRcOUo,163
14
+ cartography/_version.py,sha256=bwLw7W0DwnMRptSgMrutrZX2MCk1uMNfIUqOpUuiYqw,163
15
15
  cartography/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  cartography/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
17
17
  cartography/_utils/_logs.py,sha256=TNCxhQiimRnezBq1pV7qiJToiuoztfqs3Ls7XjnhyIE,789
@@ -33,7 +33,7 @@ cartography/resources/scrape.py,sha256=L9Sb2CM-FZpRn4FzK--RZBs9LQ_EUQj-F-IliHLfn
33
33
  cartography/resources/workflows/__init__.py,sha256=WF-IzwaW19ZKLOR8R3dEzhsDFEcoAmfygtqf8M7jNNw,1054
34
34
  cartography/resources/workflows/workflows.py,sha256=ErRGqGtfrvXPLCGsqi8zwazD_jnrBCMRaNOXbzrxZ3M,10254
35
35
  cartography/resources/workflows/request/__init__.py,sha256=u5ZP5HQC6UhVQ33WUgrN6ID8NoaKY_H6dNnpqTekp8w,1002
36
- cartography/resources/workflows/request/crawl.py,sha256=HEmab1osb_BjuoOkG6ikJcgfmAqCxu1L05VRAvPm1vA,11626
36
+ cartography/resources/workflows/request/crawl.py,sha256=ZiFs2VU-n-CEZp0fkwo5ILHb_w2PdElqmOlYs93-z0M,11780
37
37
  cartography/resources/workflows/request/request.py,sha256=gpkzJThqkkYn3ewtXGCnM7CkjuQzZmzK2LwDWXigZyo,8054
38
38
  cartography/types/__init__.py,sha256=z5IVYO88AdR6Ul10__xjNOmo4n3U79T3lMEFpjpy53M,1758
39
39
  cartography/types/api_info_retrieve_response.py,sha256=kdavk-S1UkgJaA8Ad9L-gl1DFVljhDk-afOLS5MV7EQ,246
@@ -61,10 +61,10 @@ cartography/types/workflows/request_create_download_response.py,sha256=8n05ENcmB
61
61
  cartography/types/workflows/request/__init__.py,sha256=lXyknEexZDYnqVoqUMERnRuSlz4CixdFQXecKu8qGNc,505
62
62
  cartography/types/workflows/request/crawl_create_bulk_params.py,sha256=tKJrecoRHVMF_T3okZAPCeaa8XGW5lMzoN1cku2kttc,393
63
63
  cartography/types/workflows/request/crawl_create_bulk_response.py,sha256=jsxrgEsJ5sUKquwBVJqNXqGB8JFY3lEat1wNc-qJ7a4,479
64
- cartography/types/workflows/request/crawl_create_params.py,sha256=ro_9ycDkwvrZ83hK4qxtQCcoBapWvSWjQ5XJwZBTDSo,653
65
- cartography/types/workflows/request/crawl_request_param.py,sha256=euZfGRGXWIKCjzC7O0JG9gZ8tejkCnmZG13aWiiE4CE,653
64
+ cartography/types/workflows/request/crawl_create_params.py,sha256=kTdKv3Je_SXvoMxPvHIjnkukBJ58D_1G3dntI6ueyd4,669
65
+ cartography/types/workflows/request/crawl_request_param.py,sha256=-k6nZnjcdPpSR6zM13c5dcaIStaJrIB9KkIsQYwVcjA,669
66
66
  cartography/types/workflows/request/workflow_result.py,sha256=iIDSquvEHkrr_IDYhZqJDZgLvEugBKgSeQOnA9jPohQ,221
67
- cartography_client-0.7.0.dist-info/METADATA,sha256=NxJS5oFB-Z2igCS2R-uUD8isJgXssWmqnudnxpJzKco,13566
68
- cartography_client-0.7.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
69
- cartography_client-0.7.0.dist-info/licenses/LICENSE,sha256=0DZ926LAsHVU1OBPQaE_owbXJZ6foQ133RvErapSzt0,11341
70
- cartography_client-0.7.0.dist-info/RECORD,,
67
+ cartography_client-0.8.1.dist-info/METADATA,sha256=NMX1-pPZVWBcuwEwOQT5Ho-gpKvZpfM7pDcNULLnaOc,13566
68
+ cartography_client-0.8.1.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
69
+ cartography_client-0.8.1.dist-info/licenses/LICENSE,sha256=0DZ926LAsHVU1OBPQaE_owbXJZ6foQ133RvErapSzt0,11341
70
+ cartography_client-0.8.1.dist-info/RECORD,,