- Sort Score
- Num 10 results
- Language All
Results 1471 - 1480 of 3,208 for report (0.03 seconds)
-
build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import com.gradle.develocity.agent.gradle.test.DevelocityTestConfiguration import gradlebuild.archtest.PackageCyclesExtension plugins { `jvm-test-suite` id("gradlebuild.dependency-modules") id("gradlebuild.code-quality")Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 22 18:51:33 GMT 2025 - 3.2K bytes - Click Count (0) -
docs/en/docs/reference/security/index.md
You can import them from `fastapi.security`: ```python from fastapi.security import ( APIKeyCookie, APIKeyHeader, APIKeyQuery, HTTPAuthorizationCredentials, HTTPBasic, HTTPBasicCredentials, HTTPBearer, HTTPDigest,Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 1.6K bytes - Click Count (0) -
tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py
from fastapi.testclient import TestClient from docs_src.configure_swagger_ui.tutorial002_py39 import app client = TestClient(app) def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text assert '"syntaxHighlight": false' not in response.text, ( "not used parameters should not be included" ) assert '"syntaxHighlight": {"theme": "obsidian"}' in response.text, (
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.5K bytes - Click Count (0) -
docs_src/openapi_callbacks/tutorial001_py310.py
from fastapi import APIRouter, FastAPI from pydantic import BaseModel, HttpUrl app = FastAPI() class Invoice(BaseModel): id: str title: str | None = None customer: str total: float class InvoiceEvent(BaseModel): description: str paid: bool class InvoiceEventReceived(BaseModel): ok: bool invoices_callback_router = APIRouter() @invoices_callback_router.post(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 1.3K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/KotlinDslReference.java
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.docs; import org.gradle.api.file.DirectoryProperty; import org.gradle.api.provider.Property; /** * Configuration for generating Dokka based Kotlin DSL docs. */ public abstract class KotlinDslReference { /**Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Jan 15 14:00:14 GMT 2024 - 1.2K bytes - Click Count (0) -
tests/test_enforce_once_required_parameter.py
from typing import Optional from fastapi import Depends, FastAPI, Query, status from fastapi.testclient import TestClient app = FastAPI() def _get_client_key(client_id: str = Query(...)) -> str: return f"{client_id}_key" def _get_client_tag(client_id: Optional[str] = Query(None)) -> Optional[str]: if client_id is None: return None return f"{client_id}_tag" @app.get("/foo") def foo_handler(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 16 17:21:48 GMT 2025 - 3.3K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DslReference.java
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.docs; import org.gradle.api.file.ConfigurableFileCollection; import org.gradle.api.file.DirectoryProperty; import org.gradle.api.file.RegularFileProperty; /** * The DSL reference for this documentation. These are higher-level than Javadoc. */ public abstract class DslReference {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.9K bytes - Click Count (0) -
docs/en/docs/tutorial/request-files.md
```console $ pip install python-multipart ``` This is because uploaded files are sent as "form data". /// ## Import `File` { #import-file } Import `File` and `UploadFile` from `fastapi`: {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *} ## Define `File` Parameters { #define-file-parameters }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 7.3K bytes - Click Count (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial004.py
import importlib import pytest from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial004_py39"), pytest.param("tutorial004_py310", marks=needs_py310), pytest.param("tutorial004_an_py39"), pytest.param("tutorial004_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 9.3K bytes - Click Count (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial006.py
import importlib import pytest from fastapi.testclient import TestClient @pytest.fixture( name="client", params=[ pytest.param("tutorial006_py39"), pytest.param("tutorial006_an_py39"), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module( f"docs_src.query_params_str_validations.{request.param}" ) client = TestClient(mod.app) return client
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 4.4K bytes - Click Count (0)