Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for dispatch (0.29 sec)

  1. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an.py

        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "string_pattern_mismatch",
                        "loc": ["query", "item-query"],
                        "msg": "String should match pattern '^fixedquery$'",
                        "input": "nonregexquery",
                        "ctx": {"pattern": "^fixedquery$"},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. tests/test_security_oauth2_optional.py

        )
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "string_pattern_mismatch",
                        "loc": ["body", "grant_type"],
                        "msg": "String should match pattern 'password'",
                        "input": "incorrect",
                        "ctx": {"pattern": "password"},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  3. configure.py

        # Windows.
        environ_cp['TF_DOWNLOAD_CLANG'] = '0'
        environ_cp['TF_NEED_MPI'] = '0'
    
      if is_macos():
        environ_cp['TF_NEED_TENSORRT'] = '0'
    
      if is_ppc64le():
        # Enable MMA Dynamic Dispatch support if 'gcc' and if linker >= 2.35
        gcc_env = get_gcc_compiler(environ_cp)
        if gcc_env is not None:
    
          # Use gold linker if 'gcc' and if 'ppc64le'
    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)
  4. tests/test_security_oauth2.py

        )
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "string_pattern_mismatch",
                        "loc": ["body", "grant_type"],
                        "msg": "String should match pattern 'password'",
                        "input": "incorrect",
                        "ctx": {"pattern": "password"},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. fastapi/applications.py

                return response
            ```
            """
    
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_middleware(BaseHTTPMiddleware, dispatch=func)
                return func
    
            return decorator
    
        def exception_handler(
            self,
            exc_class_or_status_code: Annotated[
                Union[int, Type[Exception]],
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  6. tests/test_regex_deprecated_body.py

        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "string_pattern_mismatch",
                        "loc": ["body", "q"],
                        "msg": "String should match pattern '^fixedquery$'",
                        "input": "nonregexquery",
                        "ctx": {"pattern": "^fixedquery$"},
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py

        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "string_pattern_mismatch",
                        "loc": ["query", "item-query"],
                        "msg": "String should match pattern '^fixedquery$'",
                        "input": "nonregexquery",
                        "ctx": {"pattern": "^fixedquery$"},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py

        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "string_pattern_mismatch",
                        "loc": ["query", "item-query"],
                        "msg": "String should match pattern '^fixedquery$'",
                        "input": "nonregexquery",
                        "ctx": {"pattern": "^fixedquery$"},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. tests/test_security_oauth2_optional_description.py

        )
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "string_pattern_mismatch",
                        "loc": ["body", "grant_type"],
                        "msg": "String should match pattern 'password'",
                        "input": "incorrect",
                        "ctx": {"pattern": "password"},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. tests/test_regex_deprecated_params.py

        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "string_pattern_mismatch",
                        "loc": ["query", "q"],
                        "msg": "String should match pattern '^fixedquery$'",
                        "input": "nonregexquery",
                        "ctx": {"pattern": "^fixedquery$"},
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 5.5K bytes
    - Viewed (0)
Back to top