- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for test_complex (0.07 sec)
-
tests/test_compat.py
class Foo(BaseModel): model_config = ConfigDict(from_attributes=True) foo = Foo() config = _get_model_config(foo) assert config == {"from_attributes": True} def test_complex(): app = FastAPI() @app.post("/") def foo(foo: Union[str, List[int]]): return foo client = TestClient(app) response = client.post("/", json="bar")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Sep 11 07:45:30 UTC 2024 - 3.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java
* dependencies using the {@link org.apache.maven.api.services.DependencyResolver} service. * <p> * This extensible enum has four defined values, {@link #MAIN_COMPILE}, {@link #MAIN_RUNTIME}, * {@link #TEST_COMPILE} and {@link #TEST_RUNTIME}, but can be extended by registering a * {@code org.apache.maven.api.spi.PathScopeProvider}. * <p>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 2.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
import static org.apache.maven.api.Lifecycle.Phase.RESOURCES; import static org.apache.maven.api.Lifecycle.Phase.SOURCES; import static org.apache.maven.api.Lifecycle.Phase.TEST; import static org.apache.maven.api.Lifecycle.Phase.TEST_COMPILE; import static org.apache.maven.api.Lifecycle.Phase.TEST_RESOURCES; import static org.apache.maven.api.Lifecycle.Phase.TEST_SOURCES; import static org.apache.maven.api.Lifecycle.Phase.UNIT_TEST;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java
String VERIFY = "verify"; String UNIT_TEST = "unit-test"; String TEST_SOURCES = "test-sources"; String TEST_RESOURCES = "test-resources"; String TEST_COMPILE = "test-compile"; String TEST = "test"; String INTEGRATION_TEST = "integration-test"; String INSTALL = "install"; String DEPLOY = "deploy"; String CLEAN = "clean";
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Sep 24 07:54:24 UTC 2024 - 5.3K bytes - Viewed (0)