Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 45 of 45 for qsub (0.14 sec)

  1. docs_src/security/tutorial005.py

            headers={"WWW-Authenticate": authenticate_value},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username: str = payload.get("sub")
            if username is None:
                raise credentials_exception
            token_scopes = payload.get("scopes", [])
            token_data = TokenData(scopes=token_scopes, username=username)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  2. ci/official/wheel_test/test_import_api_packages.py

        super().setUp()
        self.api_packages_v2 = _get_api_packages_v2()
        # Some paths in the api_packages_path file cannot be directly imported.
        # These paths may point to attributes or sub-modules within a module's
        # namespace, but they don't correspond to an actual file
        # or directory on the filesystem.
        self.packages_for_skip = [
            "tensorflow.distribute.cluster_resolver",
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 13 15:52:07 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  3. tests/test_generate_unique_id_function.py

            return item1, item2  # pragma: nocover
    
        @sub_router.post(
            "/subrouter",
            response_model=List[Item],
            responses={404: {"model": List[Message]}},
        )
        def post_subrouter(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        router.include_router(sub_router)
        app.include_router(router, generate_unique_id_function=custom_generate_unique_id3)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_security/test_tutorial005_an_py310.py

        from docs_src.security.tutorial005_an_py310 import create_access_token
    
        access_token = create_access_token(data={"data": "foo"})
        assert access_token
    
    
    @needs_py310
    def test_token_no_sub(client: TestClient):
        response = client.get(
            "/users/me",
            headers={
                "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoiZm9vIn0.9ynBhuYb4e6aW3oJr_K_TBgwcMTDpRToQIE25L57rOE"
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  5. fastapi/routing.py

                                status_code if status_code else sub_response.status_code
                            )
                            if current_status_code is not None:
                                response_args["status_code"] = current_status_code
                            if sub_response.status_code:
                                response_args["status_code"] = sub_response.status_code
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top