- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 855 for 400 (0.07 sec)
-
tests/test_tutorial/test_dependencies/test_tutorial008b.py
assert response.status_code == 404, response.text assert response.json() == {"detail": "Item not found"} def test_owner_error(): response = client.get("/items/plumbus") assert response.status_code == 400, response.text assert response.json() == {"detail": "Owner error: Rick"} def test_get_item(): response = client.get("/items/portal-gun") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Dec 26 20:37:34 UTC 2023 - 697 bytes - Viewed (0) -
docs_src/handling_errors/tutorial004.py
@app.exception_handler(RequestValidationError) async def validation_exception_handler(request, exc): return PlainTextResponse(str(exc), status_code=400) @app.get("/items/{item_id}") async def read_item(item_id: int): if item_id == 3: raise HTTPException(status_code=418, detail="Nope! I don't like 3.")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 762 bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/missing-repository-id-pom.xml
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project> <modelVersion>4.0.0</modelVersion> <artifactId>foo</artifactId> <groupId>foo</groupId> <version>99.44</version> <packaging>bleh</packaging> <repositories> <repository> </repository> </repositories>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java
import org.apache.maven.model.building.ModelProblemCollector; /** * Checks the model for missing or invalid values. * * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public interface ModelValidator { /** * Checks the specified file model for missing or invalid values. This model is directly created from the POM
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t05/p0/pom.xml
<project> <modelVersion>4.0.0</modelVersion> <groupId>maven-t05</groupId> <artifactId>p0</artifactId> <packaging>pom</packaging> <name>p0</name> <version>1.0</version> <organization> <name>Codehaus</name> </organization> <dependencyManagement> <dependencies> <dependency> <groupId>maven-test</groupId> <artifactId>t05-a</artifactId> <version>1.0</version> </dependency>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 960 bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
import org.apache.maven.settings.Settings; /** * Builds the effective settings from a user settings file and/or a global settings file. * * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead */ @Named @Singleton @Deprecated(since = "4.0.0") public class DefaultSettingsBuilder implements SettingsBuilder { private final org.apache.maven.internal.impl.DefaultSettingsBuilder builder;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005_py310.py
) assert response.status_code == 400, response.text assert response.json() == {"detail": "Incorrect username or password"} @needs_py310 def test_login_incorrect_username(client: TestClient): response = client.post("/token", data={"username": "foo", "password": "secret"}) assert response.status_code == 400, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 16.3K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005_py39.py
) assert response.status_code == 400, response.text assert response.json() == {"detail": "Incorrect username or password"} @needs_py39 def test_login_incorrect_username(client: TestClient): response = client.post("/token", data={"username": "foo", "password": "secret"}) assert response.status_code == 400, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 16.3K bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t07/p0/pom.xml
<project> <modelVersion>4.0.0</modelVersion> <groupId>maven-t07</groupId> <artifactId>p0</artifactId> <packaging>pom</packaging> <name>p0</name> <version>1.0</version> <organization> <name>Codehaus</name> </organization> <dependencyManagement> <dependencies> <dependency> <groupId>maven-test</groupId> <artifactId>t07-a</artifactId> <version>1.0</version> </dependency>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 992 bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileToRawModelMerger.java
* All others can simply be copied from source to target to restore the locationTracker * * @since 4.0.0 * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") class FileToRawModelMerger extends MavenMerger { @Override protected void mergeBuild_Extensions(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.5K bytes - Viewed (0)