- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 49 for addr (0.13 sec)
-
docs_src/sql_databases/sql_app_py310/crud.py
db.add(db_user) db.commit() db.refresh(db_user) return db_user def get_items(db: Session, skip: int = 0, limit: int = 100): return db.query(models.Item).offset(skip).limit(limit).all() def create_user_item(db: Session, item: schemas.ItemCreate, user_id: int): db_item = models.Item(**item.dict(), owner_id=user_id) db.add(db_item) db.commit()
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 1K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
... ``` ...the prefix must not include a final `/`. So, the prefix in this case is `/items`. We can also add a list of `tags` and extra `responses` that will be applied to all the *path operations* included in this router. And we can add a list of `dependencies` that will be added to all the *path operations* in the router and will be executed/solved for each request made to them. !!! tip
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18.6K bytes - Viewed (0) -
docs/en/docs/how-to/conditional-openapi.md
## About security, APIs, and docs Hiding your documentation user interfaces in production *shouldn't* be the way to protect your API. That doesn't add any extra security to your API, the *path operations* will still be available where they are. If there's a security flaw in your code, it will still exist.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 19 19:54:04 GMT 2023 - 2.3K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/privileged.yml
options: - label: I'm @tiangolo or he asked me directly to create an issue here. required: true - type: textarea id: content attributes: label: Issue Content
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 31 14:02:52 GMT 2023 - 889 bytes - Viewed (0) -
docs/pt/docs/tutorial/background-tasks.md
## Adicionar a tarefa em segundo plano Dentro de sua _função de operação de caminho_, passe sua função de tarefa para o objeto _tarefas em segundo plano_ com o método `.add_task()`: ```Python hl_lines="14" {!../../../docs_src/background_tasks/tutorial001.py!} ``` `.add_task()` recebe como argumentos: - Uma função de tarefa a ser executada em segundo plano (`write_notification`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon May 09 23:44:32 GMT 2022 - 5.3K bytes - Viewed (0) -
docs/de/docs/tutorial/background-tasks.md
``` ## Den Hintergrundtask hinzufügen Übergeben Sie innerhalb Ihrer *Pfadoperation-Funktion* Ihre Taskfunktion mit der Methode `.add_task()` an das *Hintergrundtasks*-Objekt: ```Python hl_lines="14" {!../../../docs_src/background_tasks/tutorial001.py!} ``` `.add_task()` erhält als Argumente: * Eine Taskfunktion, die im Hintergrund ausgeführt wird (`write_notification`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jan 12 14:15:29 GMT 2024 - 6.4K bytes - Viewed (0) -
docs/en/docs/how-to/nosql-databases-couchbase.md
This is not required by Couchbase, but is a good practice that will help you afterwards. ```Python hl_lines="9" {!../../../docs_src/nosql_databases/tutorial001.py!} ``` ## Add a function to get a `Bucket` In **Couchbase**, a bucket is a set of documents, that can be of different types. They are generally all related to the same application.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 16 13:23:25 GMT 2024 - 6K bytes - Viewed (0) -
docs/en/docs/tutorial/metadata.md
For example: ```Python hl_lines="31" {!../../../docs_src/metadata/tutorial001_1.py!} ``` ## Metadata for tags You can also add additional metadata for the different tags used to group your path operations with the parameter `openapi_tags`. It takes a list containing one dictionary for each tag. Each dictionary can contain:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 5.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/debugging.md
--- Например, в Visual Studio Code вы можете выполнить следующие шаги: * Перейдите на панель "Debug". * Выберите "Add configuration...". * Выберите "Python" * Запустите отладчик "`Python: Current File (Integrated Terminal)`". Это запустит сервер с вашим **FastAPI** кодом, остановится на точках останова, и т.д.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 3.8K bytes - Viewed (0) -
.github/actions/people/app/main.py
continue pr_commentors.add(comment.author.login) for author_name in pr_commentors: commenters[author_name] += 1 for review in pr.reviews.nodes: if review.author: authors[review.author.login] = review.author pr_reviewers.add(review.author.login) for label in pr.labels.nodes:
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 17:38:21 GMT 2024 - 19.2K bytes - Viewed (1)