- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 279 for __exit__ (0.06 seconds)
-
fastapi/concurrency.py
async def contextmanager_in_threadpool( cm: AbstractContextManager[_T], ) -> AsyncGenerator[_T, None]: # blocking __exit__ from running waiting on a free thread # can create race conditions/deadlocks if the context manager itself # has its own internal pool (e.g. a database connection pool) # to avoid this we let __exit__ run without a capacity limit # since we're creating a new limiter for each call, any non-zero limit
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.5K bytes - Click Count (0) -
docs_src/dependencies/tutorial010_py39.py
class MySuperContextManager: def __init__(self): self.db = DBSession() def __enter__(self): return self.db def __exit__(self, exc_type, exc_value, traceback): self.db.close() async def get_db(): with MySuperContextManager() as db:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 292 bytes - Click Count (0) -
tensorflow/api_template.__init__.py
sub-modules, as described below. Note that the file `__init__.py` in the TensorFlow source code tree is actually only a placeholder to enable test cases to run. The TensorFlow build replaces this file with a file generated from [`api_template.__init__.py`](https://www.github.com/tensorflow/tensorflow/blob/master/tensorflow/api_template.__init__.py) """ # pylint: disable=g-bad-import-order,protected-access,g-import-not-at-top
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Oct 02 22:16:02 GMT 2024 - 6.8K bytes - Click Count (0) -
docs/sts/client_grants/__init__.py
implementation to be used with boto_session """ METHOD = 'assume-role-client-grants' CANONICAL_NAME = 'AssumeRoleClientGrants' def __init__(self, cid, csec, idp_ep='http://localhost:8080/auth/realms/minio/protocol/openid-connect/token', sts_ep='http://localhost:9000'): self.cid = cid self.csec = csecCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 4.6K bytes - Click Count (0) -
docs_src/additional_responses/__init__.py
Motov Yurii <******@****.***> 1766745782 +0100
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - Click Count (0) -
docs_src/async_tests/__init__.py
Felix Böhm <******@****.***> 1596909678 +0200
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Aug 08 18:01:18 GMT 2020 - Click Count (0) -
docs_src/body_fields/__init__.py
Motov Yurii <******@****.***> 1766745782 +0100
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - Click Count (0) -
docs_src/cookie_params/__init__.py
Motov Yurii <******@****.***> 1766745782 +0100
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - Click Count (0) -
docs_src/debugging/__init__.py
Motov Yurii <******@****.***> 1766745782 +0100
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - Click Count (0) -
docs_src/encoder/__init__.py
Motov Yurii <******@****.***> 1766745782 +0100
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - Click Count (0)