- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,110 for App (0.06 sec)
-
fess-crawler-opensearch/src/test/resources/app.xml
Shinsuke Sugaya <******@****.***> 1730954650 +0900
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 216 bytes - Viewed (0) -
compat/maven-embedder/src/examples/simple-project/src/main/java/org/apache/maven/embedder/App.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 187 bytes - Viewed (0) -
docs/em/docs/tutorial/bigger-applications.md
``` /// * `app` ๐ ๐ ๐. & โซ๏ธ โ๏ธ ๐ ๐ `app/__init__.py`, โซ๏ธ "๐ ๐ฆ" (๐ "๐ ๐น"): `app`. * โซ๏ธ ๐ `app/main.py` ๐. โซ๏ธ ๐ ๐ ๐ฆ (๐ โฎ๏ธ ๐ `__init__.py`), โซ๏ธ "๐น" ๐ ๐ฆ: `app.main`. * ๐ค `app/dependencies.py` ๐, ๐ `app/main.py`, โซ๏ธ "๐น": `app.dependencies`. * ๐ค ๐ `app/routers/` โฎ๏ธ โ1๏ธโฃ ๐ `__init__.py`, โซ๏ธ "๐ ๐ฆ": `app.routers`. * ๐ `app/routers/items.py` ๐ ๐ฆ, `app/routers/`,, โซ๏ธ ๐: `app.routers.items`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 15.5K bytes - Viewed (0) -
tests/main.py
from fastapi import FastAPI, Path, Query app = FastAPI() @app.api_route("/api_route") def non_operation(): return {"message": "Hello World"} def non_decorated_route(): return {"message": "Hello World"} app.add_api_route("/non_decorated_route", non_decorated_route) @app.get("/text") def get_text(): return "Hello World" @app.get("/path/{item_id}") def get_id(item_id):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
* There's also an `app/dependencies.py` file, just like `app/main.py`, it is a "module": `app.dependencies`. * There's a subdirectory `app/routers/` with another file `__init__.py`, so it's a "Python subpackage": `app.routers`. * The file `app/routers/items.py` is inside a package, `app/routers/`, so, it's a submodule: `app.routers.items`. * The same with `app/routers/users.py`, it's another submodule: `app.routers.users`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.4K bytes - Viewed (0) -
tests/test_router_events.py
async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]: yield @asynccontextmanager async def router_lifespan(app: FastAPI) -> AsyncGenerator[None, None]: yield router = APIRouter(lifespan=router_lifespan) app = FastAPI(lifespan=lifespan) app.include_router(router) with TestClient(app) as client: assert not client.app_state
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 24 19:09:52 UTC 2024 - 7.3K bytes - Viewed (0) -
tests/test_multipart_installation.py
warnings.simplefilter("always") monkeypatch.delattr("multipart.multipart.parse_options_header", raising=False) with pytest.raises(RuntimeError, match=multipart_incorrect_install_error): app = FastAPI() @app.post("/") async def root(username: str = Form()): return username # pragma: nocover def test_incorrect_multipart_installed_file_upload(monkeypatch):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 21:46:26 UTC 2024 - 5.7K bytes - Viewed (0) -
tests/test_dependency_contextmanager.py
yield state finally: state["context_b"] = f"finished b with a: {state['context_a']}" @app.get("/async") async def get_async(state: str = Depends(asyncgen_state)): return state @app.get("/sync") async def get_sync(state: str = Depends(generator_state)): return state @app.get("/async_raise") async def get_async_raise(state: str = Depends(asyncgen_state_try)):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:13:50 UTC 2024 - 11.6K bytes - Viewed (0) -
docs/em/docs/advanced/behind-a-proxy.md
& โซ๏ธ โ๏ธ ๐ ๐โ ๐ ๐ง-๐ธ. ## ๐ณ โฎ๏ธ ๐ โก ๐ก โ๏ธ ๐ณ โฎ๏ธ ๐ โก ๐ก, ๐ ๐ผ, โ ๐ ๐ ๐ช ๐ฃ โก `/app` ๐ ๐, โ๏ธ โคด๏ธ, ๐ ๐ฎ ๐งฝ ๐ ๐ (๐ณ) ๐ ๐ ๐ฎ ๐ **FastAPI** ๐ธ ๐ฝ โก ๐ `/api/v1`. ๐ ๐ผ, โฎ๏ธ โก `/app` ๐ ๐ค ๐ฆ `/api/v1/app`. โ๏ธ ๐ ๐ ๐ โ ๐ค ๐ค `/app`. & ๐ณ ๐ **"โ"** **โก ๐ก** ๐ โ โญ ๐ถ ๐จ Uvicorn, ๐ง ๐ ๐ธ ๐ค ๐ โซ๏ธ ๐ฆ `/app`, ๐ ๐ ๐ซ โ๏ธ โน ๐ ๐ ๐ ๐ ๐ก `/api/v1`. ๐ ๐ฅ, ๐ ๐ ๐ท ๐.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.1K bytes - Viewed (0) -
tests/test_generate_unique_id_function.py
return "foo" app = FastAPI(generate_unique_id_function=broken_operation_id) @app.post("/") def post_root(item1: Item): return item1 # pragma: nocover @app.post("/second") def post_second(item1: Item): return item1 # pragma: nocover @app.post("/third") def post_third(item1: Item):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jan 13 15:10:26 UTC 2024 - 66.7K bytes - Viewed (0)