Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for different (0.22 sec)

  1. tests/test_union_inherited_body.py

                                    }
                                },
                            },
                        },
                        "summary": "Save Union Different Body",
                        "operationId": "save_union_different_body_items__post",
                        "requestBody": {
                            "content": {
                                "application/json": {
                                    "schema": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  2. tests/test_dependency_contextvars.py

        The code before yield and the code after yield should be run in the same contextvar
        context, so that request_state_context_var.reset(contextvar_token).
    
        If they are run in a different context, that raises an error.
        """
        response = client.get("/user")
        assert response.json() == "deadpond"
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Feb 17 12:40:12 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  3. fastapi/applications.py

                    """
                    A `list` of `dict`s with connectivity information to a target server.
    
                    You would use it, for example, if your application is served from
                    different domains and you want to use the same Swagger UI in the
                    browser to interact with each of them (instead of having multiple
                    browser tabs open). Or if you want to leave fixed the possible URLs.
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  4. fastapi/routing.py

                    Configuration passed to Pydantic to define if the response data
                    should have all the fields, including the ones that were not set and
                    have their default values. This is different from
                    `response_model_exclude_defaults` in that if the fields are set,
                    they will be included in the response, even if the value is the same
                    as the default.
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

          #     0x7fc61728dd40>, 10, False, tf.float32)
          # Where 0x... is a thread ID (or something) that is not important for
          # debugging, but breaks this "number of failures" counter because it's
          # different for repetitions of the same test. We use re.sub(r"0x\w+")
          # to remove it.
          key = re.sub(r"0x\w+", "", p.getparent().get("name", "")) + p.text
          if key in seen:
            testsuite._elem.remove(p.getparent())
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  6. fastapi/security/oauth2.py

        """
        This is a special class that you can define in a parameter in a dependency to
        obtain the OAuth2 scopes required by all the dependencies in the same chain.
    
        This way, multiple dependencies can have different scopes, even when used in the
        same *path operation*. And with this, you can access all the scopes required in
        all those dependencies in a single place.
    
        Read more about it in the
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  7. configure.py

              (android_ndk_home_path, ndk_version, _SUPPORTED_ANDROID_NDK_VERSIONS))
      write_action_env_to_bazelrc('ANDROID_NDK_VERSION', ndk_version)
    
      # Now grab the NDK API level to use. Note that this is different from the
      # SDK API level, as the NDK API level is effectively the *min* target SDK
      # version.
      meta = open(os.path.join(android_ndk_home_path, 'meta/platforms.json'))
      platforms = json.load(meta)
      meta.close()
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  8. fastapi/param_functions.py

                """
            ),
        ] = True,
    ) -> Any:
        """
        Declare a FastAPI Security dependency.
    
        The only difference with a regular dependency is that it can declare OAuth2
        scopes that will be integrated with OpenAPI and the automatic UI docs (by default
        at `/docs`).
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
Back to top