- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for delattr (0.68 sec)
-
fastapi/dependencies/utils.py
isinstance(field_info, params.Param) and getattr(field_info, "in_", None) is None ): field_info.in_ = params.ParamTypes.query use_annotation_from_field_info = get_annotation_from_field_info( use_annotation, field_info, param_name, ) if not field_info.alias and getattr(field_info, "convert_underscores", None):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:52:56 GMT 2024 - 29.5K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/eager/dlpack.cc
} return valid; } } // namespace void TFE_CallDLManagedTensorDeleter(void* dlm_ptr) { DLManagedTensor* dlMTensor = static_cast<DLManagedTensor*>(dlm_ptr); if (dlMTensor->deleter != nullptr) { dlMTensor->deleter(dlMTensor); } } void* TFE_HandleToDLPack(TFE_TensorHandle* h, TF_Status* status) { auto tf_dlm_context = GetDlContext(h, status); if (!status->status.ok()) { return nullptr;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 12.8K bytes - Viewed (0) -
docs/es/docs/async.md
### Hamburguesas Concurrentes Vas con la persona que te gusta ๐ a pedir comida rรกpida ๐, haces cola mientras el cajero ๐ recoge los pedidos de las personas de delante tuyo. <img src="https://fastapi.tiangolo.com/img/async/concurrent-burgers/concurrent-burgers-01.png" alt="illustration"> Llega tu turno, haces tu pedido de 2 hamburguesas impresionantes para esa persona ๐ y para ti.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 24.9K bytes - Viewed (0) -
fastapi/openapi/utils.py
if operation_id in operation_ids: message = ( f"Duplicate Operation ID {operation_id} for function " + f"{route.endpoint.__name__}" ) file_name = getattr(route.endpoint, "__globals__", {}).get("__file__") if file_name: message += f" at {file_name}" warnings.warn(message, stacklevel=1) operation_ids.add(operation_id)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 21.8K bytes - Viewed (0) -
fastapi/encoders.py
exclude = set(exclude) if isinstance(obj, BaseModel): # TODO: remove when deprecating Pydantic v1 encoders: Dict[Any, Any] = {} if not PYDANTIC_V2: encoders = getattr(obj.__config__, "json_encoders", {}) # type: ignore[attr-defined] if custom_encoder: encoders.update(custom_encoder) obj_dict = _model_dump( obj, mode="json",
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 10.8K bytes - Viewed (0) -
docs/en/docs/how-to/sql-databases-peewee.md
So, we need to do some extra tricks to make it work as if it was just using `threading.local`. The `__init__`, `__setattr__`, and `__getattr__` implement all the required tricks for this to be used by Peewee without knowing that it is now compatible with FastAPI. !!! tip
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 16 13:23:25 GMT 2024 - 23.6K bytes - Viewed (1) -
CHANGELOG.md
of unacknowledged data per stream and no per-connection limit. * Fix: Don't close a `Deflater` while we're still using it to compress a web socket message. We had a severe bug where web sockets were closed on the wrong thread, which caused `NullPointerException` crashes in `Deflater`. * Fix: Don't crash after a web socket fails its connection upgrade. We incorrectly released
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0) -
docs/em/docs/how-to/sql-databases-peewee.md
โซ๏ธ โ๏ธ ๐ โ โ ๐ โ๏ธ `contextvars` โฉ๏ธ `threading.local`. `contextvars` ๐ท ๐ ๐ ๐ `threading.local`. โ๏ธ ๐ ๐ ๐ ๐ ๐ค ๐ ๐ ๐ ๐ท โฎ๏ธ `threading.local`. , ๐ฅ ๐ช โ ๐ฑ โ โซ๏ธ ๐ท ๐ฅ โซ๏ธ โ๏ธ `threading.local`. `__init__`, `__setattr__`, & `__getattr__` ๐ ๏ธ ๐ โ ๐ฑ ๐ โ๏ธ ๐ ๐ต ๐ค ๐ โซ๏ธ ๐ ๐ โฎ๏ธ FastAPI. !!! tip ๐ ๐ โ ๐ ๐ญ โ ๐โ โ๏ธ โฎ๏ธ FastAPI. ๐ซ ๐ฒ ๐ โ๏ธ ๐ช ๐ ๐ โ โ๏ธ, ๐ โ, โ๏ธ.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 19.2K bytes - Viewed (0) -
fastapi/params.py
self, dependency: Optional[Callable[..., Any]] = None, *, use_cache: bool = True ): self.dependency = dependency self.use_cache = use_cache def __repr__(self) -> str: attr = getattr(self.dependency, "__name__", type(self.dependency).__name__) cache = "" if self.use_cache else ", use_cache=False" return f"{self.__class__.__name__}({attr}{cache})" class Security(Depends):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 27.5K bytes - Viewed (1)