- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 671 for stopTs (0.04 sec)
-
.github/workflows/pre-commit.yml
- name: Error out on pre-commit errors if: steps.precommit.outcome == 'failure' run: exit 1 # https://github.com/marketplace/actions/alls-green#why pre-commit-alls-green: # This job does nothing and is only used for the branch protection if: always() needs: - pre-commit runs-on: ubuntu-latest steps: - name: Dump GitHub context env:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 23 11:17:16 UTC 2025 - 3K bytes - Viewed (0) -
tests/test_request_body_parameters_media_type.py
class Shop(BaseModel): name: str @app.post("/products") async def create_product(data: Product = Body(media_type=media_type, embed=True)): pass # pragma: no cover @app.post("/shops") async def create_shop( data: Shop = Body(media_type=media_type), included: list[Product] = Body(default=[], media_type=media_type), ): pass # pragma: no cover client = TestClient(app)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 6.3K bytes - Viewed (0) -
fastapi/openapi/utils.py
operation_security_dict[security_name].append(scope) operation_security = [ {name: scopes} for name, scopes in operation_security_dict.items() ] return security_definitions, operation_security def _get_openapi_operation_parameters( *, dependant: Dependant, model_name_map: ModelNameMap, field_mapping: dict[
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 23.2K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
<img src="/img/tutorial/security/image10.png"> /// note Notice the header `Authorization`, with a value that starts with `Bearer `. /// ## Advanced usage with `scopes` { #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.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FailureUrlService.java
*/ public OptionalEntity<FailureUrl> getFailureUrl(final String id) { return failureUrlBhv.selectByPK(id); } /** * Stores or updates a failure URL entity in the data store. * * @param failureUrl the FailureUrl entity to store or update */ public void store(final FailureUrl failureUrl) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.2K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial002.py
} }, "components": { "securitySchemes": { "OAuth2PasswordBearer": { "type": "oauth2", "flows": {"password": {"scopes": {}, "tokenUrl": "token"}}, } }, },Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 2.2K bytes - Viewed (0) -
cmd/batch-expire.go
default: } stopFn := globalBatchJobsMetrics.trace(batchJobMetricExpire, ri.JobID, attempts) _, err := api.DeleteObject(ctx, exp.Bucket, encodeDirObject(exp.Name), ObjectOptions{ DeletePrefix: true, DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls) }) if err != nil { stopFn(exp, err)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Apr 22 11:16:32 UTC 2025 - 23K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
} catch (AssertionError e) { return; } fail("Should have caught jdk6 bug in target iterator"); } private static final int STEPS = 3; static class TesterThatCountsCalls extends IteratorTester<Integer> { TesterThatCountsCalls() { super(STEPS, MODIFIABLE, newArrayList(1), IteratorTester.KnownOrder.KNOWN_ORDER); } int numCallsToNewTargetIterator; int numCallsToVerify;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
.github/workflows/test-redistribute.yml
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Nov 21 13:03:21 UTC 2025 - 1.8K bytes - Viewed (0) -
docs/en/docs/reference/dependencies.md
``` ::: fastapi.Depends ## `Security()` For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`. But when you want to also declare OAuth2 scopes, you can use `Security()` instead of `Depends()`. You can import `Security()` directly from `fastapi`: ```python from fastapi import Security ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 671 bytes - Viewed (0)