- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for Prefix (0.04 seconds)
-
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
isRelease -> "promoteFinalRelease" else -> "promoteFinalBackportRelease" } private fun nightlyTaskName(prefix: String): String = when { isMaster -> "${prefix}Nightly" isRelease -> "${prefix}ReleaseNightly" else -> "${prefix}PatchReleaseNightly" }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 2.5K bytes - Click Count (0) -
docs_src/graphql_/tutorial001_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 424 bytes - Click Count (0) -
tests/test_infer_param_optionality.py
if user_id is None: return {"item_id": item_id} else: return {"item_id": item_id, "user_id": user_id} app.include_router(user_router, prefix="/users") app.include_router(item_router, prefix="/items") app.include_router(item_router, prefix="/users/{user_id}/items") client = TestClient(app) def test_get_users(): """Check that /users returns expected data"""Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 12.1K bytes - Click Count (0) -
fastapi/routing.py
on_shutdown=on_shutdown, lifespan=lifespan, ) if prefix: assert prefix.startswith("/"), "A path prefix must start with '/'" assert not prefix.endswith("/"), ( "A path prefix must not end with '/', as the routes will start with '/'" ) self.prefix = prefix self.tags: list[Union[str, Enum]] = tags or []Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0) -
tests/test_security_oauth2_optional.py
argnames=["grant_type"], argvalues=[ pytest.param("incorrect", id="incorrect value"), pytest.param("passwordblah", id="password with suffix"), pytest.param("blahpassword", id="password with prefix"), ], ) def test_strict_login_incorrect_grant_type(grant_type: str): response = client.post( "/login", data={"username": "johndoe", "password": "secret", "grant_type": grant_type}, )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8.9K bytes - Click Count (0) -
tests/test_annotated.py
assert response.status_code == 200 assert response.json() == {"foo": "baz"} def test_nested_router(): app = FastAPI() router = APIRouter(prefix="/nested") @router.get("/test") async def test(var: Annotated[str, Query()] = "bar"): return {"foo": var} app.include_router(router) client = TestClient(app)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9.6K bytes - Click Count (0) -
tests/test_security_oauth2.py
argnames=["grant_type"], argvalues=[ pytest.param("incorrect", id="incorrect value"), pytest.param("passwordblah", id="password with suffix"), pytest.param("blahpassword", id="password with prefix"), ], ) def test_strict_login_incorrect_grant_type(grant_type: str): response = client.post( "/login", data={"username": "johndoe", "password": "secret", "grant_type": grant_type}, )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9K bytes - Click Count (0) -
tests/test_security_oauth2_optional_description.py
argnames=["grant_type"], argvalues=[ pytest.param("incorrect", id="incorrect value"), pytest.param("passwordblah", id="password with suffix"), pytest.param("blahpassword", id="password with prefix"), ], ) def test_strict_login_incorrect_grant_type(grant_type: str): response = client.post( "/login", data={"username": "johndoe", "password": "secret", "grant_type": grant_type}, )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9.1K bytes - Click Count (0) -
.bazelrc
common:windows --nobuild_python_zip common:windows --dynamic_mode=off # Default paths for TF_SYSTEM_LIBS common:linux --define=PREFIX=/usr common:linux --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include common:macos --define=PREFIX=/usr common:macos --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include # TF_SYSTEM_LIBS do not work on windows. # By default, build TF in C++ 17 mode. common:android --cxxopt=-std=c++17
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Fri Dec 26 23:20:26 GMT 2025 - 56.8K bytes - Click Count (0) -
fastapi/openapi/models.py
class Discriminator(BaseModel): propertyName: str mapping: Optional[dict[str, str]] = None class XML(BaseModelWithConfig): name: Optional[str] = None namespace: Optional[str] = None prefix: Optional[str] = None attribute: Optional[bool] = None wrapped: Optional[bool] = None class ExternalDocumentation(BaseModelWithConfig): description: Optional[str] = None url: AnyUrl
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 15.1K bytes - Click Count (0)