- Sort Score
- Num 10 results
- Language All
Results 941 - 950 of 4,253 for _name (0.05 seconds)
-
fastapi/.agents/skills/fastapi/references/other-tools.md
```python from asyncer import asyncify from fastapi import FastAPI app = FastAPI() def do_blocking_work(name: str) -> str: # Some blocking I/O operation return f"Hello {name}" @app.get("/items/") async def read_items(): result = await asyncify(do_blocking_work)(name="World") return {"message": result} ``` And run async code inside of blocking sync code with `syncify()`: ```python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 1.5K bytes - Click Count (0) -
docs_src/app_testing/tutorial003_py310.py
async def startup_event(): items["foo"] = {"name": "Fighters"} items["bar"] = {"name": "Tenders"} @app.get("/items/{item_id}") async def read_items(item_id: str): return items[item_id] def test_read_items(): with TestClient(app) as client: response = client.get("/items/foo") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 528 bytes - Click Count (0) -
docs_src/response_model/tutorial001_01_py310.py
class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: list[str] = [] @app.post("/items/") async def create_item(item: Item) -> Item: return item @app.get("/items/") async def read_items() -> list[Item]: return [ Item(name="Portal Gun", price=42.0), Item(name="Plumbus", price=32.0),
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 07 13:45:48 GMT 2023 - 469 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsCrawlingInfo.java
this.expiredTime = value; } public String getName() { checkSpecifiedProperty("name"); return convertEmptyToNull(name); } public void setName(String value) { registerModifiedProperty("name"); this.name = value; } public String getSessionId() { checkSpecifiedProperty("sessionId");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 5.3K bytes - Click Count (0) -
.github/workflows/create-release.yml
name: Create Release on: push: tags: - 'v*.*.*' permissions: contents: write pull-requests: read jobs: create_release: name: Create Release runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Generate Release Notes and Publish id: generate_release_notes uses: release-drafter/release-drafter@v6Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Oct 09 11:31:04 GMT 2024 - 663 bytes - Click Count (0) -
src/archive/zip/struct.go
} // FileInfoHeader creates a partially-populated [FileHeader] from an // fs.FileInfo. // Because fs.FileInfo's Name method returns only the base name of // the file it describes, it may be necessary to modify the Name field // of the returned header to provide the full path name of the file. // If compression is desired, callers should set the FileHeader.Method // field; it is unset by default.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue May 28 21:41:09 GMT 2024 - 12.1K bytes - Click Count (0) -
docs_src/app_testing/tutorial004_py310.py
assert items == {"foo": {"name": "Fighters"}, "bar": {"name": "Tenders"}} response = client.get("/items/foo") assert response.status_code == 200 assert response.json() == {"name": "Fighters"} # After the requests is done, the items are still there assert items == {"foo": {"name": "Fighters"}, "bar": {"name": "Tenders"}}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.2K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/searchlist/admin_searchlist.jsp
<div class="wrapper"> <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include> <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp"> <jsp:param name="menuCategoryType" value="log"/> <jsp:param name="menuType" value="searchList"/> </jsp:include> <main class="content-wrapper"> <div class="content-header"> <div class="container-fluid">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 20.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
private static final long serialVersionUID = 1L; private String name; private String[] roleNames = new String[0]; private String[] groupNames = new String[0]; private String[] permissions = new String[0]; private boolean editable = false; public void setName(String name) { this.name = name; } @Override public String getName() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* * {@snippet : * final String name = ...; * inFlight.add(name); * ListenableFuture<Result> future = service.query(name); * future.addListener(new Runnable() { * public void run() { * processedCount.incrementAndGet(); * inFlight.remove(name); * lastProcessed.set(name); * logger.info("Done with {0}", name); * } * }, executor); * } *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8K bytes - Click Count (0)