- Sort Score
- Num 10 results
- Language All
Results 1491 - 1500 of 2,289 for FROM (0.02 seconds)
-
configure.py
# See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== """configure script to get build parameters from user.""" import argparse import errno import json import os import platform import re import shutil import subprocess import sys _DEFAULT_CUDA_COMPUTE_CAPABILITIES = '3.5,7.0'
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Apr 30 15:18:54 GMT 2025 - 48.3K bytes - Click Count (0) -
docs_src/path_params/tutorial003_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 236 bytes - Click Count (0) -
docs_src/events/tutorial002_py39.py
from fastapi import FastAPI app = FastAPI() @app.on_event("shutdown") def shutdown_event(): with open("log.txt", mode="a") as log: log.write("Application shutdown") @app.get("/items/") async def read_items():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 255 bytes - Click Count (0) -
docs/en/docs/advanced/security/index.md
# Advanced Security { #advanced-security } ## Additional Features { #additional-features } There are some extra features to handle security apart from the ones covered in the [Tutorial - User Guide: Security](../../tutorial/security/index.md){.internal-link target=_blank}. /// tip The next sections are **not necessarily "advanced"**. And it's possible that for your use case, the solution is in one of them. ///Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 708 bytes - Click Count (0) -
docs/de/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *} Dieser Statuscode wird in der Response verwendet und zum OpenAPI-Schema hinzugefügt. /// note | Technische Details Sie können auch `from starlette import status` verwenden. **FastAPI** bietet dieselben `starlette.status`-Codes auch via `fastapi.status` an, als Annehmlichkeit für Sie, den Entwickler. Sie kommen aber direkt von Starlette. ///Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.7K bytes - Click Count (0) -
docs/ru/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *} Этот статус-код будет использован в ответе и будет добавлен в схему OpenAPI. /// note | Технические детали Вы также можете использовать `from starlette import status`. **FastAPI** предоставляет тот же `starlette.status` под псевдонимом `fastapi.status` для удобства разработчика. Но его источник - это непосредственно Starlette. /// ## Теги { #tags }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.5K bytes - Click Count (0) -
tests/main.py
import http from typing import Optional from fastapi import FastAPI, Path, Query external_docs = { "description": "External API documentation.", "url": "https://docs.example.com/api-general", } app = FastAPI(openapi_external_docs=external_docs) @app.api_route("/api_route") def non_operation(): return {"message": "Hello World"} def non_decorated_route(): return {"message": "Hello World"}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 4.5K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial007.py
import importlib import pytest from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial007_py39"), pytest.param("tutorial007_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_nested_models.{request.param}")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 10.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt
* limitations under the License. */ package gradlebuild.binarycompatibility import org.intellij.lang.annotations.Language import org.junit.Test /** * Asserts Kotlin `internal` members are filtered from the comparison. */ class KotlinInternalFilteringTest : AbstractBinaryCompatibilityTest() { @Language("kotlin") private val internalMembers = """ internal fun foo() {}
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Mar 14 02:17:00 GMT 2025 - 6.5K bytes - Click Count (0) -
docs_src/dependencies/tutorial001_py310.py
from fastapi import Depends, FastAPI app = FastAPI() async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100): return {"q": q, "skip": skip, "limit": limit} @app.get("/items/") async def read_items(commons: dict = Depends(common_parameters)): return commons @app.get("/users/") async def read_users(commons: dict = Depends(common_parameters)):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 404 bytes - Click Count (0)