- Sort Score
- Result 10 results
- Languages All
Results 21 - 26 of 26 for PASS (0.15 sec)
-
fastapi/openapi/models.py
content: Optional[Dict[str, MediaType]] = None class Parameter(ParameterBase): name: str in_: ParameterInType = Field(alias="in") class Header(ParameterBase): pass class RequestBody(BaseModelWithConfig): description: Optional[str] = None content: Dict[str, MediaType] required: Optional[bool] = None class Link(BaseModelWithConfig):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 22:49:33 GMT 2024 - 15K bytes - Viewed (1) -
docs/en/docs/help-fastapi.md
### Tests * Help me check that the PR has **tests**. * Check that the tests **fail** before the PR. ๐จ * Then check that the tests **pass** after the PR. โ * Many PRs don't have tests, you can **remind** them to add tests, or you can even **suggest** some tests yourself. That's one of the things that consume most time and you can help a lot with that.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.7K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
Then, in **FastAPI**, you could use a Python class as a dependency. What FastAPI actually checks is that it is a "callable" (function, class or anything else) and the parameters defined. If you pass a "callable" as a dependency in **FastAPI**, it will analyze the parameters for that "callable", and process them in the same way as the parameters for a *path operation function*. Including sub-dependencies.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.4K bytes - Viewed (0) -
docs/em/docs/how-to/sql-databases-peewee.md
```Python # db._state = PeeweeConnectionState() ``` & ๐ `sql_app/main.py` ๐, ๐ค ๐ช `async` ๐ `reset_db_state()` & โ โซ๏ธ โฎ๏ธ `pass`: ```Python async def reset_db_state(): # database.db._state._state.set(db_state_default.copy()) # database.db._state.reset() pass ``` โคด๏ธ ๐ ๐ ๐ฑ โฎ๏ธ Uvicorn: <div class="termy"> ```console $ uvicorn sql_app.main:app --reload
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) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Feb 24 23:06:37 GMT 2024 - 14.1K bytes - Viewed (0) -
docs/en/docs/deployment/docker.md
``` 1. Copy the `main.py` file to the `/code` directory directly (without any `./app` directory). 2. Use `fastapi run` to serve your application in the single file `main.py`. When you pass the file to `fastapi run` it will detect automatically that it is a single file and not part of a package and will know how to import it and serve your FastAPI app. ๐ ## Deployment Concepts
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 34K bytes - Viewed (0)