- Sort Score
- Num 10 results
- Language All
Results 1101 - 1110 of 2,978 for Class (0.24 seconds)
-
tests/test_request_params/test_body/test_list.py
# Without aliases @app.post("/required-list-str", operation_id="required_list_str") async def read_required_list_str(p: Annotated[list[str], Body(embed=True)]): return {"p": p} class BodyModelRequiredListStr(BaseModel): p: list[str] @app.post("/model-required-list-str", operation_id="model_required_list_str") def read_model_required_list_str(p: BodyModelRequiredListStr): return {"p": p.p}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:31:34 GMT 2025 - 11.9K bytes - Click Count (0) -
tests/test_request_params/test_body/test_optional_str.py
# Without aliases @app.post("/optional-str", operation_id="optional_str") async def read_optional_str(p: Annotated[Optional[str], Body(embed=True)] = None): return {"p": p} class BodyModelOptionalStr(BaseModel): p: Optional[str] = None @app.post("/model-optional-str", operation_id="model_optional_str") async def read_model_optional_str(p: BodyModelOptionalStr): return {"p": p.p}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 11.6K bytes - Click Count (0) -
docs_src/body_updates/tutorial001_py310.py
from fastapi import FastAPI from fastapi.encoders import jsonable_encoder from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str | None = None description: str | None = None price: float | None = None tax: float = 10.5 tags: list[str] = [] items = { "foo": {"name": "Foo", "price": 50.2}, "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 856 bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
* Populates Aether {@link ArtifactDescriptorResult} from Maven project {@link Model}. * <p> * <strong>Note:</strong> This class is part of work in progress and can be changed or removed without notice. * @since 3.2.4 * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead */ @Deprecated(since = "4.0.0") public class ArtifactDescriptorReaderDelegate {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 20 22:29:18 GMT 2025 - 6K bytes - Click Count (0) -
docs/en/docs/tutorial/body-updates.md
# Body - Updates { #body-updates } ## Update replacing with `PUT` { #update-replacing-with-put } To update an item you can use the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTP `PUT`</a> operation. You can use the `jsonable_encoder` to convert the input data to data that can be stored as JSON (e.g. with a NoSQL database). For example, converting `datetime` to `str`.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
# Тіло – Оновлення ## Оновлення з використанням `PUT` Щоб оновити елемент, Ви можете використати <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTP `PUT`</a> операцію. Ви можете використати `jsonable_encoder`, щоб перетворити вхідні дані на такі, які можна зберігати як JSON (наприклад, у NoSQL базі даних). Наприклад, перетворюючи `datetime` у `str`.
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) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/PluginConfigurationModule.java
configuration = XmlNode.newInstance("configuration"); } binder.bind(XmlNode.class) .annotatedWith(Names.named(plugin.getKey())) .toInstance(configuration); binder.bind(PlexusConfiguration.class) .annotatedWith(Names.named(plugin.getKey()))
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 1.9K bytes - Click Count (0) -
doc/go_spec.html
</p> <pre class="ebnf"> TypeDecl = "type" ( TypeSpec | "(" { TypeSpec ";" } ")" ) . TypeSpec = AliasDecl | TypeDef . </pre> <h4 id="Alias_declarations">Alias declarations</h4> <p> An alias declaration binds an identifier to the given type [<a href="#Go_1.9">Go 1.9</a>]. </p> <pre class="ebnf"> AliasDecl = identifier [ TypeParameters ] "=" Type .
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1) -
compat/maven-artifact/pom.xml
<artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestEntries> <Main-Class>org.apache.maven.artifact.versioning.ComparableVersion</Main-Class> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Jun 29 22:37:39 GMT 2025 - 2.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/artifact/PluginArtifact.java
import org.apache.maven.artifact.handler.ArtifactHandler; import org.apache.maven.model.Dependency; import org.apache.maven.model.Plugin; /** * PluginArtifact */ public class PluginArtifact extends DefaultArtifact implements ArtifactWithDependencies { private Plugin plugin; public PluginArtifact(Plugin plugin, Artifact pluginArtifact) { super( plugin.getGroupId(),Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.7K bytes - Click Count (0)