- Sort Score
- Num 10 results
- Language All
Results 5811 - 5820 of 7,303 for recur2 (0.08 seconds)
-
tests/test_tutorial/test_python_types/test_tutorial009_tutorial009b.py
pytest.param("tutorial009b_py39"), ], ) def get_module(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.python_types.{request.param}") return mod def test_say_hi(module: ModuleType): with patch("builtins.print") as mock_print: module.say_hi("FastAPI") module.say_hi() assert mock_print.call_count == 2
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 805 bytes - Click Count (0) -
tests/test_tutorial/test_python_types/test_tutorial009c.py
pytest.param("tutorial009c_py310", marks=needs_py310), ], ) def get_module(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.python_types.{request.param}") return mod def test_say_hi(module: ModuleType): with patch("builtins.print") as mock_print: module.say_hi("FastAPI") mock_print.assert_called_once_with("Hey FastAPI!") with pytest.raises(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 777 bytes - Click Count (0) -
docs_src/body_multiple_params/tutorial001_an_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 610 bytes - Click Count (0) -
docs_src/debugging/tutorial001_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 223 bytes - Click Count (0) -
docs_src/header_params/tutorial003_an_py39.py
from typing import Annotated, Union from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(x_token: Annotated[Union[list[str], None], Header()] = None):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 234 bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/PluginDependenciesResolver.java
* null}. * @param session The repository session to use for resolving the plugin's main artifact, must not be {@code null}. * @return The resolved plugin artifact, never {@code null}. * @throws PluginResolutionException If the plugin artifact could not be resolved. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.7K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java
Session session; @Inject BeanItf2 anotherBean; @Override public Session getSession() { return session; } @Override public BeanItf2 getAnotherBean() { return anotherBean; } @Override public void throwException() throws TestException { throw new TestException(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Supplier.java
/** * Retrieves an instance of the appropriate type. The returned object may or may not be a new * instance, depending on the implementation. * * @return an instance of the appropriate type */ @ParametricNullness T get(); /** * <i>May</i> return {@code true} if {@code object} is a {@code Supplier} that behaves identically * to this supplier. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jun 19 17:20:48 GMT 2025 - 3K bytes - Click Count (0) -
tests/test_starlette_exception.py
if item_id not in items: raise HTTPException( status_code=404, detail="Item not found", headers={"X-Error": "Some custom header"}, ) return {"item": items[item_id]} @app.get("/http-no-body-statuscode-exception") async def no_body_status_code_exception(): raise HTTPException(status_code=204)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 7.4K bytes - Click Count (0) -
cmd/metrics-v3-replication.go
// such as transfer rate and objects queued. func loadClusterReplicationMetrics(ctx context.Context, m MetricValues, c *metricsCache) error { st := globalReplicationStats.Load() if st == nil { return nil } qs := st.getNodeQueueStatsSummary() qt := qs.QStats m.Set(replicationAverageQueuedBytes, float64(qt.Avg.Bytes)) m.Set(replicationAverageQueuedCount, float64(qt.Avg.Count))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 4.6K bytes - Click Count (0)