- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 350 for stax (0.08 seconds)
-
docs_src/behind_a_proxy/tutorial004_py310.py
from fastapi import FastAPI, Request app = FastAPI( servers=[ {"url": "https://stag.example.com", "description": "Staging environment"}, {"url": "https://prod.example.com", "description": "Production environment"}, ], root_path="/api/v1", root_path_in_servers=False, ) @app.get("/app") def read_main(request: Request):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 437 bytes - Click Count (0) -
misc/go_android_exec/main.go
statPath := filepath.Join(os.TempDir(), "go_android_exec-adb-sync-status") stat, err := os.OpenFile(statPath, os.O_CREATE|os.O_RDWR, 0666) if err != nil { return err } defer stat.Close() // Serialize check and copying. if err := syscall.Flock(int(stat.Fd()), syscall.LOCK_EX); err != nil { return err } s, err := io.ReadAll(stat) if err != nil { return err } if string(s) == goVersion {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Click Count (0) -
docs_src/body/tutorial002_py310.py
class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None app = FastAPI() @app.post("/items/") async def create_item(item: Item): item_dict = item.model_dump() if item.tax is not None: price_with_tax = item.price + item.tax item_dict.update({"price_with_tax": price_with_tax})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 447 bytes - Click Count (0) -
cmd/xl-storage-format-v1_gen.go
} case "Format": z.Format, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Format") return } case "Stat": err = z.Stat.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Stat") return } case "Erasure": err = z.Erasure.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Erasure") return }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 41.2K bytes - Click Count (0) -
docs_src/response_model/tutorial004_py310.py
class Item(BaseModel): name: str description: str | None = None price: float tax: float = 10.5 tags: list[str] = [] items = { "foo": {"name": "Foo", "price": 50.2}, "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2}, "baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []}, }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 595 bytes - Click Count (0) -
cmd/metacache_gen.go
err = msgp.WrapError(err, "root") return } case "fnf": z.fileNotFound, err = dc.ReadBool() if err != nil { err = msgp.WrapError(err, "fileNotFound") return } case "stat": { var zb0002 uint8 zb0002, err = dc.ReadUint8() if err != nil { err = msgp.WrapError(err, "status") return } z.status = scanStatus(zb0002) } case "rec":
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 10K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java
import javax.xml.parsers.SAXParserFactory; import org.codelibs.core.exception.ParserConfigurationRuntimeException; import org.codelibs.core.exception.SAXRuntimeException; import org.xml.sax.SAXException; import org.xml.sax.SAXNotRecognizedException; import org.xml.sax.SAXNotSupportedException; /** * Utility class for {@link SAXParser}. * * @author higa */ public abstract class SAXParserFactoryUtil { /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.7K bytes - Click Count (0) -
docs_src/path_operation_advanced_configuration/tutorial004_py310.py
price: float tax: float | None = None tags: set[str] = set() @app.post("/items/", summary="Create an item") async def create_item(item: Item) -> Item: """ Create an item with all the information: - **name**: each item must have a name - **description**: a long description - **price**: required - **tax**: if the item doesn't have tax, you can omit thisCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:07:26 GMT 2026 - 661 bytes - Click Count (0) -
docs_src/body_updates/tutorial001_py310.py
name: str | None = None description: str | None = None price: float | None = None tax: float = 10.5 tags: list[str] = [] items = { "foo": {"name": "Foo", "price": 50.2}, "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2}, "baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []}, } @app.get("/items/{item_id}", response_model=Item)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 856 bytes - Click Count (0) -
tests/test_tutorial/test_body/test_tutorial001.py
"price": 50.5, "description": None, "tax": None, } def test_post_with_str_float(client: TestClient): response = client.post("/items/", json={"name": "Foo", "price": "50.5"}) assert response.status_code == 200 assert response.json() == { "name": "Foo", "price": 50.5, "description": None, "tax": None, }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 11.1K bytes - Click Count (0)