- Sort Score
- Num 10 results
- Language All
Results 731 - 740 of 1,228 for itens (0.18 seconds)
-
tests/test_operations_signatures.py
router_sig = inspect.signature(router_method) app_sig = inspect.signature(app_method) param: inspect.Parameter for key, param in base_sig.parameters.items(): router_param: inspect.Parameter = router_sig.parameters[key] app_param: inspect.Parameter = app_sig.parameters[key] assert param.annotation == router_param.annotation
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon May 27 12:08:13 GMT 2019 - 934 bytes - Click Count (0) -
tests/test_additional_responses_custom_validationerror.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.9K bytes - Click Count (0) -
docs_src/handling_errors/tutorial004_py39.py
message = "Validation errors:" for error in exc.errors(): message += f"\nField: {error['loc']}, Error: {error['msg']}" return PlainTextResponse(message, status_code=400) @app.get("/items/{item_id}") async def read_item(item_id: int): if item_id == 3: raise HTTPException(status_code=418, detail="Nope! I don't like 3.")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 920 bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial005_py310.py
app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() @app.post( "/items/", response_model=Item, summary="Create an item", response_description="The created item", ) async def create_item(item: Item): """ Create an item with all the information:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 698 bytes - Click Count (0) -
docs_src/dependencies/tutorial008b_an_py39.py
class OwnerError(Exception): pass def get_username(): try: yield "Rick" except OwnerError as e: raise HTTPException(status_code=400, detail=f"Owner error: {e}") @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): if item_id not in data: raise HTTPException(status_code=404, detail="Item not found") item = data[item_id]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 26 20:37:34 GMT 2023 - 775 bytes - Click Count (0) -
docs/pt/docs/advanced/additional-responses.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
reload(updater); } } /** * Reloads the dictionary file with the specified updater. * @param updater the updater to use for processing items */ protected void reload(final ProtwordsUpdater updater) { try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) { reload(updater, curlResponse.getContentAsStream());
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.9K bytes - Click Count (0) -
tests/test_tutorial/test_sql_databases/test_tutorial002.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 17.9K bytes - Click Count (0) -
docs/uk/docs/tutorial/first-steps.md
#### Шлях (path) "Шлях" це частина URL, яка йде одразу після символу `/`. Отже, у такому URL, як: ``` https://example.com/items/foo ``` ...шлях буде: ``` /items/foo ``` /// info | Додаткова інформація "Шлях" (path) також зазвичай називають "ендпоінтом" (endpoint) або "маршрутом" (route). ///
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 15.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheRetention.java
import org.apache.maven.api.annotations.Experimental; /** * Enumeration defining different retention periods for cached data. * Each value represents a specific scope and lifetime for cached items. * * @since 4.0.0 */ @Experimental public enum CacheRetention { /** * Data should be persisted across Maven invocations. * Suitable for: * - Dependency resolution resultsCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 1.9K bytes - Click Count (0)