- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 1,575 for dama (0.03 sec)
-
docs_src/security/tutorial004_an.py
if not user: return False if not verify_password(password, user.hashed_password): return False return user def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4.2K bytes - Viewed (0) -
docs/sts/client-grants.go
flag.StringVar(&clientSecret, "csec", "", "Client secret") } func getTokenExpiry() (*credentials.ClientGrantsToken, error) { data := url.Values{} data.Set("grant_type", "client_credentials") req, err := http.NewRequest(http.MethodPost, idpEndpoint, strings.NewReader(data.Encode())) if err != nil { return nil, err } req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 3.3K bytes - Viewed (0) -
tests/test_tutorial/test_request_form_models/test_tutorial001_an_py39.py
@needs_py39 def test_post_body_form(client: TestClient): response = client.post("/login/", data={"username": "Foo", "password": "secret"}) assert response.status_code == 200 assert response.json() == {"username": "Foo", "password": "secret"} @needs_py39 def test_post_body_form_no_password(client: TestClient): response = client.post("/login/", data={"username": "Foo"}) assert response.status_code == 422
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 05 15:16:50 UTC 2024 - 7.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java
throw new GradleException(String.format("Could not write meta-data to %s.", repoFile), e); } } @Override public T get(String fullyQualifiedClassName) { T t = find(fullyQualifiedClassName); if (t == null) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4K bytes - Viewed (0) -
fastapi/applications.py
@app.websocket("/ws") async def websocket_endpoint(websocket: WebSocket): await websocket.accept() while True: data = await websocket.receive_text() await websocket.send_text(f"Message text was: {data}") ``` """ def decorator(func: DecoratedCallable) -> DecoratedCallable: self.add_api_websocket_route(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:52:31 UTC 2024 - 172.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TransposedTableTest.java
@Override protected Table<String, Integer, Character> create(@Nullable Object... data) { Table<Integer, String, Character> original = HashBasedTable.create(); Table<String, Integer, Character> table = transpose(original); table.clear(); populate(table, data); return table; } public void testTransposeTransposed() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.8K bytes - Viewed (0) -
docs/en/docs/advanced/response-cookies.md
Keep in mind that if you return a response directly instead of using the `Response` parameter, FastAPI will return it directly. So, you will have to make sure your data is of the correct type. E.g. it is compatible with JSON, if you are returning a `JSONResponse`. And also that you are not sending any data that should have been filtered by a `response_model`. /// ### More info /// note | "Technical Details"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py39.py
"description": "FastAPI can convert price `strings` to actual `numbers` automatically", "value": {"name": "Bar", "price": "35.4"}, }, "invalid": { "summary": "Invalid data is rejected with an error",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
} RenderDataUtil.register(data, "availableArtifactItems", result); }).useForm(InstallForm.class, op -> op.setup(form -> {})); } private HtmlResponse asListHtml() { return asHtml(path_AdminPlugin_AdminPluginJsp) .renderWith(data -> data.register("installedArtifactItems", getAllInstalledArtifacts())).useForm(DeleteForm.class); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/RootAction.java
op.setup(form -> { buildFormParams(form); }); }).renderWith(data -> { buildInitParams(); RenderDataUtil.register(data, "notification", fessConfig.getNotificationSearchTop()); }); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2K bytes - Viewed (0)