- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 922 for Optional (0.09 sec)
-
docs/en/docs/tutorial/security/simple-oauth2.md
``` //// `OAuth2PasswordRequestForm` is a class dependency that declares a form body with: * The `username`. * The `password`. * An optional `scope` field as a big string, composed of strings separated by spaces. * An optional `grant_type`. /// tip The OAuth2 spec actually *requires* a field `grant_type` with a fixed value of `password`, but `OAuth2PasswordRequestForm` doesn't enforce it.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java
* This information include the dependency type (main classes, test classes, <i>etc.</i>), * a scope (compile-time, run-time <i>etc.</i>), an obligation (whether the dependency * is optional or mandatory), and possible exclusions for transitive dependencies. * The {@linkplain #getVersionConstraint() version} and the {@linkplain #getOptional() obligation} * may not be defined precisely. * * @since 4.0.0 */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import java.util.List; import java.util.Map; import java.util.Optional; import org.apache.maven.api.Service; import org.apache.maven.api.Session; import org.apache.maven.api.Toolchain; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 2.4K bytes - Viewed (0) -
android/guava/pom.xml
</Export-Package> <Import-Package> com.google.common.util.concurrent.internal, javax.annotation;resolution:=optional, javax.crypto.*;resolution:=optional, sun.misc.*;resolution:=optional </Import-Package> <Bundle-DocURL>https://github.com/google/guava/</Bundle-DocURL> </instructions> </configuration>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 9.1K bytes - Viewed (0) -
docs/tr/docs/python-types.md
* `dict` değişkeninin `value` değeri `float` tipindedir (lherbir item'ın "price" değeri). #### `Optional` `Optional` bir değişkenin `str`gibi bir tipi olabileceğini ama isteğe bağlı olarak tipinin `None` olabileceğini belirtir: ```Python hl_lines="1 4" {!../../docs_src/python_types/tutorial009.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.7K bytes - Viewed (0) -
fastapi/encoders.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 10.8K bytes - Viewed (0) -
tests/test_openapi_separate_input_output_schemas.py
from typing import List, Optional from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel from .utils import PYDANTIC_V2, needs_pydanticv2 class SubItem(BaseModel): subname: str sub_description: Optional[str] = None tags: List[str] = [] if PYDANTIC_V2: model_config = {"json_schema_serialization_defaults_required": True} class Item(BaseModel):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 19.7K bytes - Viewed (0) -
docs/it/docs/index.md
from pydantic import BaseModel from typing import Optional app = FastAPI() class Item(BaseModel): name: str price: float is_offer: bool = Optional[None] @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Optional[str] = None): return {"item_id": item_id, "q": q}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 19.2K bytes - Viewed (0) -
tests/test_infer_param_optionality.py
@item_router.get("/") def get_items(user_id: Optional[str] = None): if user_id is None: return [{"item_id": "i1", "user_id": "u1"}, {"item_id": "i2", "user_id": "u2"}] else: return [{"item_id": "i2", "user_id": user_id}] @item_router.get("/{item_id}") def get_item(item_id: str, user_id: Optional[str] = None): if user_id is None: return {"item_id": item_id} else:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 13.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java
packages.addAll(descriptor.getExportedPackages()); } } } catch (IOException ignored) { // exports descriptors are entirely optional } return new CoreExtensionEntry(loader, artifacts, packages, null, null); } public static CoreExtensionEntry discoverFrom(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0)