- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 228 for Advance (3.45 sec)
-
docs/en/docs/tutorial/security/oauth2-jwt.md
## Advanced usage with `scopes` OAuth2 has the notion of "scopes". You can use them to add a specific set of permissions to a JWT token. Then you can give this token to a user directly or a third party, to interact with your API with a set of restrictions. You can learn how to use them and how they are integrated into **FastAPI** later in the **Advanced User Guide**. ## Recap
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 12.7K bytes - Viewed (0) -
fastapi/security/http.py
""" The HTTP Basic credentials given as the result of using `HTTPBasic` in a dependency. Read more about it in the [FastAPI docs for HTTP Basic Auth](https://fastapi.tiangolo.com/advanced/security/http-basic-auth/). """ username: Annotated[str, Doc("The HTTP Basic username.")] password: Annotated[str, Doc("The HTTP Basic password.")] class HTTPAuthorizationCredentials(BaseModel):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Apr 19 15:29:38 UTC 2024 - 13.2K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyHandler.java
* implementation files('hibernate.jar', 'libs/spring.jar') * * //putting all jars from 'libs' onto compile classpath * implementation fileTree('libs') * } * </pre> * * <h2>Advanced dependency configuration</h2> * <p>To do some advanced configuration on a dependency when it is declared, you can additionally pass a configuration closure:</p> * * <pre> * dependencies { * <i>configurationName</i>(<i>dependencyNotation</i>){
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 19:16:36 UTC 2024 - 26.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/README.md
std::unique_ptr<TargetHardware> CreateFooHardware() { return std::make_unique<FooHardware>(); } TargetHardwareRegistration<FooHardware> foo_hardware( "Target device for FOO", CreateFooHardware); ``` ### Advanced user For advanced users (e.g., you may already have your own hardware dialect defined), please just use `TargetHardware` directly. See the following code snippet for reference. ```
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 29 18:32:13 UTC 2022 - 11.6K bytes - Viewed (0) -
src/cmd/internal/obj/pcln.go
Done bool } // NewPCIter creates a PCIter with a scale factor for the PC step size. func NewPCIter(pcScale uint32) *PCIter { it := new(PCIter) it.PCScale = pcScale return it } // Next advances it to the Next pc. func (it *PCIter) Next() { it.PC = it.NextPC if it.Done { return } if len(it.p) == 0 { it.Done = true return } // Value delta
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 20:45:15 UTC 2022 - 11.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/testing.md
Если для тестирования Вам, помимо запросов к приложению FastAPI, необходимо вызывать асинхронные функции (например, для подключения к базе данных с помощью асинхронного драйвера), то ознакомьтесь со страницей [Асинхронное тестирование](../advanced/async-tests.md){.internal-link target=_blank} в расширенном руководстве. ## Разделение тестов и приложения В реальном приложении Вы, вероятно, разместите тесты в отдельном файле.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 10.2K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
The same way, you could raise an `HTTPException` or similar in the exit code, after the `yield`. !!! tip This is a somewhat advanced technique, and in most of the cases you won't really need it, as you can raise exceptions (including `HTTPException`) from inside of the rest of your application code, for example, in the *path operation function*.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 14.1K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
### Return a Response Directly The most common case would be [returning a Response directly as explained later in the advanced docs](../advanced/response-directly.md){.internal-link target=_blank}. ```Python hl_lines="8 10-11" {!> ../../../docs_src/response_model/tutorial003_02.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 17.9K bytes - Viewed (0) -
src/image/jpeg/scan.go
c := b[y8+x] if c < -128 { c = 0 } else if c > 127 { c = 255 } else { c += 128 } dst[yStride+x] = uint8(c) } } return nil } // findRST advances past the next RST restart marker that matches expectedRST. // Other than I/O errors, it is also an error if we encounter an {0xFF, M} // two-byte marker sequence where M is not 0x00, 0xFF or the expectedRST. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 00:46:29 UTC 2024 - 15.7K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/stmt.go
n.X = Expr(n.X) // delicate little dance. see tcAssignList if n.Key != nil { if !ir.DeclaredBy(n.Key, n) { n.Key = AssignExpr(n.Key) } checkassign(n.Key) } if n.Value != nil { if !ir.DeclaredBy(n.Value, n) { n.Value = AssignExpr(n.Value) } checkassign(n.Value) } // second half of dance n.SetTypecheck(1) if n.Key != nil && n.Key.Typecheck() == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:10:54 UTC 2023 - 17.8K bytes - Viewed (0)