- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 324 for have (0.01 sec)
-
impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java
assertEquals(1, resource.getIncludes().size(), "Should have one include"); assertEquals("*.properties", resource.getIncludes().get(0), "Should only have *.properties"); // Verify persistence Resource resourceAfter = project.getResources().get(0); assertEquals(1, resourceAfter.getIncludes().size(), "Should still have one include");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 12.6K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
To see all the options you have, checkout <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Pydantic's Type Overview</a>. You will see some examples in the next chapter. For example, as in the `Image` model we have a `url` field, we can declare it to be an instance of Pydantic's `HttpUrl` instead of a `str`:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.7K bytes - Viewed (0) -
docs/en/docs/how-to/separate-openapi-schemas.md
In fact, in some cases, it will even have **two JSON Schemas** in OpenAPI for the same Pydantic model, for input and output, depending on if they have **default values**. Let's see how that works and how to change it if you need to do that. ## Pydantic Models for Input and Output { #pydantic-models-for-input-and-output } Let's say you have a Pydantic model with default values, like this one:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 4.5K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
/// tip Notice the autocompletion for `name` and `price`, that was defined in the FastAPI application, in the `Item` model. /// You will have inline errors for the data that you send: <img src="/img/tutorial/generate-clients/image04.png"> The response object will also have autocompletion: <img src="/img/tutorial/generate-clients/image05.png"> ## FastAPI App with Tags { #fastapi-app-with-tags }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 10.1K bytes - Viewed (1) -
docs/en/docs/tutorial/bigger-applications.md
/// ## Another module with `APIRouter` { #another-module-with-apirouter } Let's say you also have the endpoints dedicated to handling "items" from your application in the module at `app/routers/items.py`. You have *path operations* for: * `/items/` * `/items/{item_id}` It's all the same structure as with `app/routers/users.py`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 18.6K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
{* ../../docs_src/dependencies/tutorial008_an_py39.py hl[18:19,26:27] *} The same way, you could have some dependencies with `yield` and some other dependencies with `return`, and have some of those depend on some of the others. And you could have a single dependency that requires several other dependencies with `yield`, etc. You can have any combinations of dependencies that you want.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.9K bytes - Viewed (0) -
docs/en/docs/tutorial/response-status-code.md
* A special case is `204`, "No Content". This response is used when there is no content to return to the client, and so the response must not have a body. * **`300 - 399`** are for "Redirection". Responses with these status codes may or may not have a body, except for `304`, "Not Modified", which must not have one. * **`400 - 499`** are for "Client error" responses. These are the second type you would probably use the most.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
But you still need to use `Path` for the `item_id` path parameter. And you don't want to use `Annotated` for some reason. Python will complain if you put a value with a "default" before a value that doesn't have a "default". But you can re-order them, and have the value without a default (the query parameter `q`) first.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.1K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
# Extra Models { #extra-models } Continuing with the previous example, it will be common to have more than one related model. This is especially the case for user models, because: * The **input model** needs to be able to have a password. * The **output model** should not have a password. * The **database model** would probably need to have a hashed password. /// dangerRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 6.9K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
class PluginUpgradeConfigurationTests { @Test @DisplayName("should have predefined plugin upgrades") void shouldHavePredefinedPluginUpgrades() throws Exception { List<PluginUpgrade> upgrades = PluginUpgradeStrategy.getPluginUpgrades(); assertFalse(upgrades.isEmpty(), "Should have predefined plugin upgrades"); // Verify some expected plugins are includedRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 27.8K bytes - Viewed (0)