- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 1,325 for spath (0.04 sec)
-
fastapi/utils.py
}: return True current_status_code = int(status_code) return not (current_status_code < 200 or current_status_code in {204, 205, 304}) def get_path_param_names(path: str) -> Set[str]: return set(re.findall("{(.*?)}", path)) def create_model_field( name: str, type_: Any, class_validators: Optional[Dict[str, Validator]] = None, default: Optional[Any] = Undefined,
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Aug 31 23:46:03 UTC 2024 - 7.8K bytes - Viewed (0) -
cmd/api-response.go
// unit tests do not have host set. if r.Host == "" { return path.Clean(r.URL.Path) } proto := handlers.GetSourceScheme(r) if proto == "" { proto = getURLScheme(globalIsTLS) } u := &url.URL{ Host: r.Host, Path: path.Join(SlashSeparator, bucket, object), Scheme: proto, } // If domain is set then we need to use bucket DNS style.
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Oct 25 02:13:19 UTC 2024 - 33.6K bytes - Viewed (0) -
tests/test_tutorial/test_templates/test_tutorial001.py
import os import shutil from fastapi.testclient import TestClient def test_main(): if os.path.isdir("./static"): # pragma: nocover shutil.rmtree("./static") if os.path.isdir("./templates"): # pragma: nocover shutil.rmtree("./templates") shutil.copytree("./docs_src/templates/templates/", "./templates") shutil.copytree("./docs_src/templates/static/", "./static") from docs_src.templates.tutorial001 import app
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Jan 11 22:25:37 UTC 2024 - 910 bytes - Viewed (0) -
common/scripts/metallb-native.yaml
items: type: string type: array localPref: description: The BGP LOCAL_PREF attribute which is used by BGP best path algorithm, Path with higher localpref is preferred over one with lower localpref. format: int32 type: integer nodeSelectors:
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Fri Feb 23 23:56:31 UTC 2024 - 63.9K bytes - Viewed (0) -
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py
}, ] } ) def test_post_file_no_token(tmp_path, app: FastAPI): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") client = TestClient(app) with path.open("rb") as file: response = client.post("/files/", files={"file": file}) assert response.status_code == 422, response.text
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 9.8K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial001.py
from typing import Union from fastapi import FastAPI, Path from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None @app.put("/items/{item_id}") async def update_item( *, item_id: int = Path(title="The ID of the item to get", ge=0, le=1000), q: Union[str, None] = None,
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 596 bytes - Viewed (0) -
docs/tls/README.md
#### 3.3.1 Install and configure GnuTLS Download and decompress the Windows version of GnuTLS from [here](http://www.gnutls.org/download.html). Use PowerShell to add the path of the extracted GnuTLS binary to the system path: ``` setx path "%path%;C:\Users\MyUser\Downloads\gnutls-3.4.9-w64\bin" ``` **Note:** PowerShell may need to be restarted for this change to take effect. #### 3.3.2 Generate a private key
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Sep 29 04:28:45 UTC 2022 - 8.4K bytes - Viewed (0) -
docs/ja/docs/tutorial/metadata.md
/// tip | "豆知識" 使用するすべてのタグにメタデータを追加する必要はありません。 /// ### 自作タグの使用 `tags` パラメーターを使用して、それぞれの *path operations* (および `APIRouter`) を異なるタグに割り当てます: ```Python hl_lines="21 26" {!../../docs_src/metadata/tutorial004.py!} ``` /// info | "情報" タグのより詳しい説明を知りたい場合は [Path Operation Configuration](path-operation-configuration.md#tags){.internal-link target=_blank} を参照して下さい。 /// ### ドキュメントの確認
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.6K bytes - Viewed (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 7.5K bytes - Viewed (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py310.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 7.6K bytes - Viewed (0)