atlan-application-sdk-api 3.54.0__tar.gz → 3.55.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 (85) hide show
  1. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/PKG-INFO +6 -2
  2. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/_runtime/offload.py +61 -10
  3. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/clients/ssl_utils.py +1 -7
  4. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/errors.py +1 -2
  5. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/constants.py +3 -3
  6. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/handler/object_routes.py +1 -2
  7. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/handler/request_contract.py +1 -3
  8. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/version.py +3 -4
  9. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/pyproject.toml +7 -2
  10. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/.gitignore +0 -0
  11. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/README.md +0 -0
  12. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/api-files.txt +0 -0
  13. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/__init__.py +0 -0
  14. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/_build_info.py +0 -0
  15. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/_context_errors.py +0 -0
  16. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/_install.py +0 -0
  17. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/_logging.py +0 -0
  18. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/_runtime/__init__.py +0 -0
  19. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/_runtime/cgroup.py +0 -0
  20. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/_runtime/progress.py +0 -0
  21. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/clients/__init__.py +0 -0
  22. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/clients/_interface.py +0 -0
  23. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/clients/_sql_failure_classifier.py +0 -0
  24. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/clients/base.py +0 -0
  25. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/clients/http_errors.py +0 -0
  26. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/clients/models.py +0 -0
  27. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/clients/sql.py +0 -0
  28. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/clients/sql_errors.py +0 -0
  29. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/clients/sql_typecasters.py +0 -0
  30. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/__init__.py +0 -0
  31. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/_generated_tree.py +0 -0
  32. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/_listing.py +0 -0
  33. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/aws_utils.py +0 -0
  34. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/aws_utils_errors.py +0 -0
  35. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/backoff.py +0 -0
  36. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/build_identity.py +0 -0
  37. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/concurrency.py +0 -0
  38. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/filter_matching.py +0 -0
  39. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/logger.py +0 -0
  40. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/models.py +0 -0
  41. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/sql_filters.py +0 -0
  42. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/sql_filters_errors.py +0 -0
  43. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/task_queue.py +0 -0
  44. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/types.py +0 -0
  45. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/common/utils.py +0 -0
  46. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/contracts/__init__.py +0 -0
  47. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/contracts/base.py +0 -0
  48. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/contracts/events.py +0 -0
  49. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/contracts/types.py +0 -0
  50. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/contracts/types_errors.py +0 -0
  51. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/credentials/__init__.py +0 -0
  52. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/credentials/errors.py +0 -0
  53. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/credentials/extra.py +0 -0
  54. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/credentials/ingress.py +0 -0
  55. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/credentials/ref.py +0 -0
  56. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/credentials/requirements.py +0 -0
  57. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/credentials/spec.py +0 -0
  58. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/credentials/types.py +0 -0
  59. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/credentials/utils.py +0 -0
  60. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/errors/__init__.py +0 -0
  61. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/errors/base.py +0 -0
  62. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/errors/categories.py +0 -0
  63. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/errors/http.py +0 -0
  64. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/errors/leaves.py +0 -0
  65. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/errors/wire.py +0 -0
  66. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/handler/__init__.py +0 -0
  67. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/handler/_dispatch.py +0 -0
  68. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/handler/_warmup.py +0 -0
  69. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/handler/asgi.py +0 -0
  70. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/handler/base.py +0 -0
  71. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/handler/context.py +0 -0
  72. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/handler/contracts.py +0 -0
  73. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/handler/manifest.py +0 -0
  74. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/handler/metadata_routes.py +0 -0
  75. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/handler/routes.py +0 -0
  76. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/handler/service_errors.py +0 -0
  77. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/server/__init__.py +0 -0
  78. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/server/fastapi/models.py +0 -0
  79. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/templates/__init__.py +0 -0
  80. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/templates/contracts/__init__.py +0 -0
  81. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/templates/contracts/base_metadata_extraction.py +0 -0
  82. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/templates/contracts/incremental_sql.py +0 -0
  83. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/templates/contracts/sql_metadata.py +0 -0
  84. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/application_sdk/templates/contracts/sql_query.py +0 -0
  85. {atlan_application_sdk_api-3.54.0 → atlan_application_sdk_api-3.55.0}/hatch_build.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: atlan-application-sdk-api
3
- Version: 3.54.0
3
+ Version: 3.55.0
4
4
  Summary: Experimental: the handler surface of the Atlan Application SDK, for the consolidated API host
5
5
  Project-URL: Homepage, https://github.com/atlanhq/application-sdk
6
6
  Project-URL: Source, https://github.com/atlanhq/application-sdk/tree/main/packages/api
@@ -14,6 +14,9 @@ Classifier: Intended Audience :: Developers
14
14
  Classifier: License :: OSI Approved :: Apache Software License
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
17
20
  Requires-Python: >=3.11
18
21
  Requires-Dist: certifi>=2026.10.19
19
22
  Requires-Dist: fastapi<0.163.0,>=0.162.0
@@ -21,12 +24,13 @@ Requires-Dist: httpx<0.29.0,>=0.27.0
21
24
  Requires-Dist: orjson<4.0.0,>=3.11.6
22
25
  Requires-Dist: pydantic<3.0.0,>=2.10.6
23
26
  Requires-Dist: python-multipart>=0.0.26
27
+ Requires-Dist: typing-extensions<5,>=4.12.2
24
28
  Provides-Extra: aws
25
29
  Requires-Dist: boto3<2.0.0,>=1.38.6; extra == 'aws'
26
30
  Requires-Dist: httpx<0.29.0,>=0.27.0; extra == 'aws'
27
31
  Requires-Dist: python-dotenv<2.0.0,>=1.2.2; extra == 'aws'
28
32
  Provides-Extra: pandas
29
- Requires-Dist: pandas<3.0.0,>=2.2.3; extra == 'pandas'
33
+ Requires-Dist: pandas<4.0.0,>=2.2.3; extra == 'pandas'
30
34
  Provides-Extra: pyatlan
31
35
  Requires-Dist: authlib<2,>=1.9.1; extra == 'pyatlan'
32
36
  Requires-Dist: pyatlan<12,>=11.7.0; extra == 'pyatlan'
@@ -704,7 +704,7 @@ async def run_in_thread(
704
704
  ========================= ====================== ====================
705
705
  Need Use (async) Avoid (blocking)
706
706
  ========================= ====================== ====================
707
- HTTP requests ``httpx``, ``aiohttp`` ``requests``
707
+ HTTP requests ``httpx`` ``requests``
708
708
  AWS SDK ``aioboto3``, ``boto3``
709
709
  ``aiobotocore``
710
710
  PostgreSQL ``asyncpg`` ``psycopg2``
@@ -1278,11 +1278,30 @@ def _discard_process_pool(max_workers: int, pool: _IsolationPool) -> None:
1278
1278
  executor.shutdown(wait=False)
1279
1279
 
1280
1280
 
1281
+ def _retire_single_use_pool(pool: _IsolationPool) -> None:
1282
+ """Shut a ``fresh_child=True`` pool down once its one call's child is done.
1283
+
1284
+ Runs from the child future's done callback, which fires on the executor's
1285
+ own manager thread — joining the children there would deadlock, so the
1286
+ join happens on a short-lived daemon thread. ``reaped`` is set once every
1287
+ child has exited, as for an idle-reaped pool.
1288
+ """
1289
+
1290
+ def _join() -> None:
1291
+ pool.executor.shutdown(wait=True)
1292
+ pool.reaped.set()
1293
+
1294
+ threading.Thread(
1295
+ target=_join, name="sdk-isolation-fresh-retire", daemon=True
1296
+ ).start()
1297
+
1298
+
1281
1299
  async def run_fault_isolated(
1282
1300
  func: Callable[..., T],
1283
1301
  *args: Any,
1284
1302
  timeout: float | None = None,
1285
1303
  max_workers: int | None = None,
1304
+ fresh_child: bool = False,
1286
1305
  **kwargs: Any,
1287
1306
  ) -> T:
1288
1307
  """Run ``func`` in an isolated child process (native-crash containment).
@@ -1329,6 +1348,15 @@ async def run_fault_isolated(
1329
1348
  all ``max_workers=1`` callers share a single child and queue behind
1330
1349
  one another; pass another integer to bound concurrency at a
1331
1350
  different width. Must be >= 1.
1351
+ fresh_child: Run on a single-use child that serves this call only and exits
1352
+ as soon as it finishes, instead of a pooled one. A pooled child
1353
+ serves every call that arrives within the idle period, and the
1354
+ peak heap one call leaves behind stays resident into the next. Use
1355
+ ``fresh_child=True`` for heavy calls made back to back — each step then
1356
+ starts on an empty heap, and the memory is returned the moment the
1357
+ call ends rather than after the idle period. Costs one spawn and
1358
+ import per call. Never shared, so no other caller can queue behind
1359
+ it or discard it. ``max_workers`` must be ``None`` or ``1``.
1332
1360
 
1333
1361
  Raises:
1334
1362
  BrokenProcessPool: The child died abnormally (native crash), or a
@@ -1337,11 +1365,22 @@ async def run_fault_isolated(
1337
1365
  width gets a fresh child.
1338
1366
  TimeoutError: ``timeout`` elapsed. The child is killed and the pool
1339
1367
  discarded.
1340
- InvalidInputValueError: ``max_workers`` is < 1 (also a ``ValueError``).
1368
+ InvalidInputValueError: ``max_workers`` is < 1, or is neither ``None``
1369
+ nor ``1`` with ``fresh_child=True`` (also a ``ValueError``).
1341
1370
  """
1342
- workers = (
1343
- _default_process_pool_max_workers() if max_workers is None else max_workers
1344
- )
1371
+ if fresh_child and max_workers not in (None, 1):
1372
+ raise InvalidInputValueError(
1373
+ message=f"fresh_child=True runs on a single-use width-1 child; got max_workers={max_workers}",
1374
+ field="max_workers",
1375
+ constraint="None or 1 when fresh_child=True",
1376
+ value_summary=str(max_workers),
1377
+ )
1378
+ if fresh_child:
1379
+ workers = 1
1380
+ else:
1381
+ workers = (
1382
+ _default_process_pool_max_workers() if max_workers is None else max_workers
1383
+ )
1345
1384
  if workers < 1:
1346
1385
  raise InvalidInputValueError(
1347
1386
  message=f"max_workers must be >= 1, got {workers}",
@@ -1371,7 +1410,21 @@ async def run_fault_isolated(
1371
1410
  # the child, so the call returns at its deadline whether or not a hold is
1372
1411
  # watching.
1373
1412
  with _auto_hold(_ISOLATED_HOLD_PREFIX + _offloaded_callable_name(func), timeout):
1374
- pool = _acquire_process_pool(workers)
1413
+ if fresh_child:
1414
+ # Never registered in _PROCESS_POOLS, so no other caller can reach
1415
+ # it; _discard_process_pool below leaves the shared width-1 pool
1416
+ # alone for the same reason.
1417
+ pool = _IsolationPool(1)
1418
+
1419
+ def release() -> None:
1420
+ _retire_single_use_pool(pool)
1421
+
1422
+ else:
1423
+ pool = _acquire_process_pool(workers)
1424
+
1425
+ def release() -> None:
1426
+ _release_process_pool(workers, pool)
1427
+
1375
1428
  try:
1376
1429
  child_future = pool.executor.submit(
1377
1430
  functools.partial(func, *args, **kwargs)
@@ -1379,12 +1432,10 @@ async def run_fault_isolated(
1379
1432
  except BaseException:
1380
1433
  # Never submitted (pool broken or shut down): nothing will release
1381
1434
  # the in-flight count, so release it here.
1382
- _release_process_pool(workers, pool)
1435
+ release()
1383
1436
  raise
1384
1437
  # Released when the *child* is done, not when this caller stops waiting.
1385
- child_future.add_done_callback(
1386
- lambda _done: _release_process_pool(workers, pool)
1387
- )
1438
+ child_future.add_done_callback(lambda _done: release())
1388
1439
  future = asyncio.wrap_future(child_future, loop=loop)
1389
1440
  if timeout is not None:
1390
1441
  # Not asyncio.wait_for: on timeout it cancels the future and then
@@ -90,7 +90,7 @@ def create_ssl_context_with_custom_certs(cert_dir: str) -> ssl.SSLContext:
90
90
  @functools.lru_cache(maxsize=1)
91
91
  def get_ssl_context() -> bool | ssl.SSLContext:
92
92
  """
93
- Get the SSL verification context for HTTP clients (httpx, aiohttp, etc.).
93
+ Get the SSL verification context for HTTP clients such as httpx.
94
94
 
95
95
  If SSL_CERT_DIR is set and points to a valid directory, returns an SSLContext
96
96
  that includes both default system certificates AND custom certificates from that directory.
@@ -105,12 +105,6 @@ def get_ssl_context() -> bool | ssl.SSLContext:
105
105
  >>> ssl_context = get_ssl_context()
106
106
  >>> async with httpx.AsyncClient(verify=ssl_context) as client:
107
107
  ... response = await client.get("https://example.com")
108
-
109
- >>> import aiohttp
110
- >>> ssl_context = get_ssl_context()
111
- >>> async with aiohttp.ClientSession() as session:
112
- ... async with session.get("https://example.com", ssl=ssl_context) as response:
113
- ... pass
114
108
  """
115
109
  ssl_cert_dir = get_ssl_cert_dir()
116
110
  if ssl_cert_dir:
@@ -88,8 +88,7 @@ class UnserializableMapperResultError(DataIntegrityError):
88
88
 
89
89
  code: ClassVar[str] = "DATA_INTEGRITY_UNSERIALIZABLE_MAPPER_RESULT"
90
90
  message: str = (
91
- "Asset mapper returned a value the SDK cannot serialise to the Atlas "
92
- "wire shape"
91
+ "Asset mapper returned a value the SDK cannot serialise to the Atlas wire shape"
93
92
  )
94
93
  suggested_action: str | None = (
95
94
  "Return a pyatlan asset (one exposing to_nested_bytes(), "
@@ -1061,7 +1061,7 @@ WINDOWS_EXTENDED_PATH_PREFIX = "\\\\?\\"
1061
1061
 
1062
1062
  # SSL Configuration
1063
1063
  #: Custom SSL certificate directory path.
1064
- #: When set, httpx and aiohttp clients will use certificates from this directory.
1064
+ #: When set, the SDK's httpx clients will use certificates from this directory.
1065
1065
  SSL_CERT_DIR = os.getenv("SSL_CERT_DIR", "")
1066
1066
 
1067
1067
 
@@ -1140,8 +1140,8 @@ If set and points to a directory, all .pem/.crt/.cer/.ca-bundle files
1140
1140
  in that directory are trusted in addition to system CAs.
1141
1141
  """
1142
1142
 
1143
- # Daft analytics are disabled via ENV vars in the Dockerfile (DO_NOT_TRACK,
1144
- # SCARF_NO_ANALYTICS, DAFT_ANALYTICS_ENABLED). They must NOT be set here at
1143
+ # Third-party analytics are disabled via ENV vars in the Dockerfile (DO_NOT_TRACK,
1144
+ # SCARF_NO_ANALYTICS). They must NOT be set here at
1145
1145
  # module level — os.environ assignments call os.putenv(), which Temporal's
1146
1146
  # workflow sandbox flags as non-deterministic, causing worker eviction loops.
1147
1147
  # See: https://github.com/atlanhq/application-sdk/pull/1129
@@ -37,9 +37,8 @@ from typing import Annotated, Any, Protocol, cast
37
37
  from uuid import uuid4
38
38
 
39
39
  import orjson
40
- from fastapi import FastAPI, File, Form, HTTPException
40
+ from fastapi import FastAPI, File, Form, HTTPException, Query, Request, UploadFile
41
41
  from fastapi import Path as PathParam
42
- from fastapi import Query, Request, UploadFile
43
42
  from fastapi.responses import JSONResponse
44
43
 
45
44
  from application_sdk._logging import get_logger
@@ -84,8 +84,6 @@ async def read_json_object(request: Request) -> dict[str, Any]:
84
84
  raise RequestContractError(message="Request body is not valid JSON.") from exc
85
85
  if not isinstance(body, dict):
86
86
  raise RequestContractError(
87
- message=(
88
- "Request body must be a JSON object, got " f"{type(body).__name__}."
89
- )
87
+ message=(f"Request body must be a JSON object, got {type(body).__name__}.")
90
88
  )
91
89
  return body
@@ -24,17 +24,16 @@ re-hardcodes the version:
24
24
 
25
25
  * ``application_sdk.dev._dapr`` imports ``__dapr_version`` directly for the
26
26
  embedded local-dev daprd download.
27
- * The external-Dapr CI paths read it without importing, by grepping this file::
27
+ * The external-Dapr CI path reads it without importing, by grepping this file::
28
28
 
29
29
  ver=$(grep '^__dapr_version' application_sdk/version.py | cut -d'"' -f2)
30
30
 
31
- — namely ``.github/actions/ae-stack-up/ae-stack-up.sh`` and
32
- ``.github/actions/connector-integration-tests/action.yaml``.
31
+ — namely ``.github/actions/connector-integration-tests/action.yaml``.
33
32
 
34
33
  This constant is normally updated by the sync workflow above; bump it by hand
35
34
  only to reconcile ahead of a release — and deliberately, since older Dapr
36
35
  releases drop off the CDN.
37
36
  """
38
37
 
39
- __version__ = "3.54.0"
38
+ __version__ = "3.55.0"
40
39
  __dapr_version: str = "1.19.1"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "atlan-application-sdk-api"
3
- version = "3.54.0"
3
+ version = "3.55.0"
4
4
  description = "Experimental: the handler surface of the Atlan Application SDK, for the consolidated API host"
5
5
  license = "Apache-2.0"
6
6
  authors = [
@@ -15,10 +15,15 @@ classifiers = [
15
15
  "License :: OSI Approved :: Apache Software License",
16
16
  "Programming Language :: Python :: 3",
17
17
  "Programming Language :: Python :: 3.11",
18
+ "Programming Language :: Python :: 3.12",
19
+ "Programming Language :: Python :: 3.13",
20
+ "Programming Language :: Python :: 3.14",
18
21
  ]
19
22
  dependencies = [
20
23
  "fastapi>=0.162.0,<0.163.0",
21
24
  "pydantic>=2.10.6,<3.0.0",
25
+ # application_sdk/contracts/{base,types}.py import it; same pin as the SDK.
26
+ "typing-extensions>=4.12.2,<5",
22
27
  "orjson>=3.11.6,<4.0.0",
23
28
  # Form parsing for the file-upload route. Arrives on the worker through
24
29
  # fastapi[standard]; the floor is the SDK's CVE constraint.
@@ -42,7 +47,7 @@ sql = [
42
47
  "httpx>=0.27.0,<0.29.0",
43
48
  "python-dotenv>=1.2.2,<2.0.0", # CVE-2026-28684
44
49
  ]
45
- pandas = ["pandas>=2.2.3,<3.0.0"]
50
+ pandas = ["pandas>=2.2.3,<4.0.0"]
46
51
  aws = [
47
52
  "boto3>=1.38.6,<2.0.0",
48
53
  "httpx>=0.27.0,<0.29.0",