- Sort Score
- Num 10 results
- Language All
Results 611 - 620 of 3,335 for None (0.01 seconds)
-
scripts/playwright/request_form_models/image01.py
import subprocess import time import httpx from playwright.sync_api import Playwright, sync_playwright # Run playwright codegen to generate the code below, copy paste the sections in run() def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) # Update the viewport manually context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page()
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 1.1K bytes - Click Count (0) -
tests/test_fastapi_cli.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 02 04:02:38 GMT 2025 - 866 bytes - Click Count (0) -
Jenkinsfile
#!groovy pipeline { agent none // save some io during the build options { skipDefaultCheckout() durabilityHint('PERFORMANCE_OPTIMIZED') disableRestartFromStage() } stages { stage("Build / Test - JDK17") { agent { node { label 'ubuntu' } } steps { timeout(time: 210, unit: 'MINUTES') { checkout scm mavenBuild("jdk_17_latest", "") script {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 10 12:31:48 GMT 2025 - 2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifact.java
return null; } @Override public String getExtension() { return "pom"; } @Override public String getLanguage() { return "none"; } @Override public String getPackaging() { return "pom"; } @Override @Deprecated public boolean isAddedToClasspath() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
docs/en/docs/tutorial/body-updates.md
### Warning about replacing { #warning-about-replacing } That means that if you want to update the item `bar` using `PUT` with a body containing: ```Python { "name": "Barz", "price": 3, "description": None, } ``` because it doesn't include the already stored attribute `"tax": 20.2`, the input model would take the default value of `"tax": 10.5`. And the data would be saved with that "new" `tax` of `10.5`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 4.1K bytes - Click Count (0) -
docs/uk/docs/tutorial/body-updates.md
### Попередження про заміну Це означає, що якщо Ви хочете оновити елемент `bar`, використовуючи `PUT` з тілом: ```Python { "name": "Barz", "price": 3, "description": None, } ``` оскільки він не містить вже збереженого атрибута `"tax": 20.2`, модель введення прийме значення за замовчуванням `"tax": 10.5`. І дані будуть збережені з цим "новим" значенням `tax` = `10.5`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Jun 30 06:00:04 GMT 2025 - 7.7K bytes - Click Count (0) -
docs/ko/docs/tutorial/body.md
쿼리 매개변수를 선언할 때와 같이, 모델 어트리뷰트가 기본 값을 가지고 있어도 이는 필수가 아닙니다. 그외에는 필수입니다. 그저 `None`을 사용하여 선택적으로 만들 수 있습니다. 예를 들면, 위의 이 모델은 JSON "`object`" (혹은 파이썬 `dict`)을 다음과 같이 선언합니다: ```JSON { "name": "Foo", "description": "선택적인 설명란", "price": 45.2, "tax": 3.5 } ``` ...`description`과 `tax`는 (기본 값이 `None`으로 되어 있어) 선택적이기 때문에, 이 JSON "`object`"는 다음과 같은 상황에서도 유효합니다: ```JSON { "name": "Foo",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 7.8K bytes - Click Count (0) -
tests/test_security_http_basic_optional.py
app = FastAPI() security = HTTPBasic(auto_error=False) @app.get("/users/me") def read_current_user(credentials: Optional[HTTPBasicCredentials] = Security(security)): if credentials is None: return {"msg": "Create an account first"} return {"username": credentials.username, "password": credentials.password} client = TestClient(app) def test_security_http_basic():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.6K bytes - Click Count (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt
val agentJarNames: List<String> get() = agentJars.files.map { it.name } @get:InputFiles @get:PathSensitive(PathSensitivity.NONE) abstract val unixScriptTemplate: ConfigurableFileCollection @get:InputFiles @get:PathSensitive(PathSensitivity.NONE) abstract val windowsScriptTemplate: ConfigurableFileCollection @get:OutputDirectory abstract val startScriptsDir: DirectoryProperty
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Apr 08 01:46:59 GMT 2025 - 6.3K bytes - Click Count (0) -
pdm_build.py
import os from typing import Any from pdm.backend.hooks import Context TIANGOLO_BUILD_PACKAGE = os.getenv("TIANGOLO_BUILD_PACKAGE", "fastapi") def pdm_build_initialize(context: Context) -> None: metadata = context.config.metadata # Get custom config for the current package, from the env var config: dict[str, Any] = context.config.data["tool"]["tiangolo"][ "_internal-slim-build" ]["packages"].get(TIANGOLO_BUILD_PACKAGE)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 691 bytes - Click Count (0)