- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 61 for copy (0.14 sec)
-
docs/de/docs/deployment/docker.md
<Details> <summary>Dockerfile-Vorschau ๐</summary> ```Dockerfile FROM python:3.9 WORKDIR /code COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY ./app /code/app CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:19:17 GMT 2024 - 38.9K bytes - Viewed (0) -
docs/pt/docs/deployment/docker.md
<details> <summary>Visualizaรงรฃo do Dockerfile ๐</summary> ```Dockerfile FROM python:3.9 WORKDIR /code COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY ./app /code/app CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"] # If running behind a proxy like Nginx or Traefik add --proxy-headers
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 37.4K bytes - Viewed (0) -
docs/ja/docs/deployment/docker.md
<details> <summary>Dockerfile ใใฌใใฅใผ ๐</summary> ```Dockerfile FROM python:3.9 WORKDIR /code COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY ./app /code/app CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"] # If running behind a proxy like Nginx or Traefik add --proxy-headers
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 44.3K bytes - Viewed (0) -
fastapi/_compat.py
from collections import deque from copy import copy from dataclasses import dataclass, is_dataclass from enum import Enum from typing import ( Any, Callable, Deque, Dict, FrozenSet, List, Mapping, Sequence, Set, Tuple, Type, Union, ) from fastapi.exceptions import RequestErrorModel from fastapi.types import IncEx, ModelNameMap, UnionType
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 22.6K bytes - Viewed (0) -
docs/en/docs/tutorial/index.md
So you can come back and see exactly what you need. ## Run the code All the code blocks can be copied and used directly (they are actually tested Python files). To run any of the examples, copy the code to a file `main.py`, and start `fastapi dev` with: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 5.9K bytes - Viewed (0) -
docs_src/security/tutorial004_py310.py
return False if not verify_password(password, user.hashed_password): return False return user def create_access_token(data: dict, expires_delta: timedelta | None = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire})
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4K bytes - Viewed (0) -
docs/em/docs/tutorial/body-updates.md
```Python hl_lines="32" {!> ../../../docs_src/body_updates/tutorial002_py310.py!} ``` ### โ๏ธ Pydantic `update` ๐ข ๐, ๐ ๐ช โ ๐ โป ๐ท โ๏ธ `.copy()`, & ๐ถโโ๏ธ `update` ๐ข โฎ๏ธ `dict` โ ๐ฝ โน. ๐ `stored_item_model.copy(update=update_data)`: === "๐ 3๏ธโฃ.6๏ธโฃ & ๐" ```Python hl_lines="35" {!> ../../../docs_src/body_updates/tutorial002.py!} ``` === "๐ 3๏ธโฃ.9๏ธโฃ & ๐"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 4.6K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-updates.md
ใใใไฝฟใใใจใงใใใใฉใซใๅคใ็็ฅใใฆใ่จญๅฎใใใ๏ผใชใฏใจในใใง้ใใใ๏ผใใผใฟใฎใฟใๅซใ`dict`ใ็ๆใใใใจใใงใใพใ: ```Python hl_lines="34" {!../../../docs_src/body_updates/tutorial002.py!} ``` ### Pydanticใฎ`update`ใใฉใกใผใฟ ใใใงใ`.copy()`ใ็จใใฆๆขๅญใฎใขใใซใฎใณใใผใไฝๆใใ`update`ใใฉใกใผใฟใซๆดๆฐใใใใผใฟใๅซใ`dict`ใๆธกใใใจใใงใใพใใ `stored_item_model.copy(update=update_data)`ใฎใใใซ: ```Python hl_lines="35" {!../../../docs_src/body_updates/tutorial002.py!} ``` ### ้จๅ็ๆดๆฐใฎใพใจใ ใพใจใใใจใ้จๅ็ใชๆดๆฐใ้ฉ็จใใใซใฏใๆฌกใฎใใใซใใพใ:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.2K bytes - Viewed (0) -
docs_src/security/tutorial004_an_py39.py
if not verify_password(password, user.hashed_password): return False return user def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire})
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4.1K bytes - Viewed (0) -
tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py
data = { "start_datetime": "2018-12-22T14:00:00+00:00", "end_datetime": "2018-12-24T15:00:00+00:00", "repeat_at": "15:30:00", "process_after": 300, } expected_response = data.copy() expected_response.update( { "start_process": "2018-12-22T14:05:00+00:00", "duration": 176_100, "item_id": item_id, } )
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Apr 19 00:11:40 GMT 2024 - 6.8K bytes - Viewed (0)