Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,086 for str (0.1 sec)

  1. fastapi/params.py

            annotation: Optional[Any] = None,
            alias: Optional[str] = None,
            alias_priority: Union[int, None] = _Unset,
            # TODO: update when deprecating Pydantic v1, import these types
            # validation_alias: str | AliasPath | AliasChoices | None
            validation_alias: Union[str, None] = None,
            serialization_alias: Union[str, None] = None,
            title: Optional[str] = None,
            description: Optional[str] = None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 18:06:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  2. fastapi/dependencies/models.py

        name: Optional[str] = None
        call: Optional[Callable[..., Any]] = None
        request_param_name: Optional[str] = None
        websocket_param_name: Optional[str] = None
        http_connection_param_name: Optional[str] = None
        response_param_name: Optional[str] = None
        background_tasks_param_name: Optional[str] = None
        security_scopes_param_name: Optional[str] = None
        security_scopes: Optional[List[str]] = None
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 20:19:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. .github/actions/notify-translations/app/main.py

    
    def get_graphql_response(
        *,
        settings: Settings,
        query: str,
        after: Union[str, None] = None,
        category_id: Union[str, None] = None,
        discussion_number: Union[int, None] = None,
        discussion_id: Union[str, None] = None,
        comment_id: Union[str, None] = None,
        body: Union[str, None] = None,
    ) -> Dict[str, Any]:
        headers = {"Authorization": f"token {settings.input_token.get_secret_value()}"}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. fastapi/openapi/models.py

        description: Optional[str] = None
        content: Dict[str, MediaType]
        required: Optional[bool] = None
    
    
    class Link(BaseModelWithConfig):
        operationRef: Optional[str] = None
        operationId: Optional[str] = None
        parameters: Optional[Dict[str, Union[Any, str]]] = None
        requestBody: Optional[Union[Any, str]] = None
        description: Optional[str] = None
        server: Optional[Server] = None
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. docs_src/security/tutorial004_py310.py

        }
    }
    
    
    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    class TokenData(BaseModel):
        username: str | None = None
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/AsciiTest.java

          assertFalse(str, c == Ascii.toUpperCase(c));
          assertTrue(str, Ascii.isLowerCase(c));
          assertFalse(str, Ascii.isUpperCase(c));
        }
      }
    
      public void testCharsUpper() {
        for (char c : UPPER.toCharArray()) {
          String str = String.valueOf(c);
          assertFalse(str, c == Ascii.toLowerCase(c));
          assertTrue(str, c == Ascii.toUpperCase(c));
          assertFalse(str, Ascii.isLowerCase(c));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. docs_src/security/tutorial005_py310.py

    }
    
    
    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    class TokenData(BaseModel):
        username: str | None = None
        scopes: list[str] = []
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. fastapi/param_functions.py

                """
            ),
        ] = _Unset,
        # TODO: update when deprecating Pydantic v1, import these types
        # validation_alias: str | AliasPath | AliasChoices | None
        validation_alias: Annotated[
            Union[str, None],
            Doc(
                """
                'Whitelist' validation step. The parameter field will be the single one
                allowed by the alias or set of aliases defined.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  9. fastapi/dependencies/utils.py

        return values
    
    
    async def request_body_to_args(
        body_fields: List[ModelField],
        received_body: Optional[Union[Dict[str, Any], FormData]],
        embed_body_fields: bool,
    ) -> Tuple[Dict[str, Any], List[Dict[str, Any]]]:
        values: Dict[str, Any] = {}
        errors: List[Dict[str, Any]] = []
        assert body_fields, "request_body_to_args() should be called with fields"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

          }
          String str = builder.toString();
          HashCode hashUtf8 = murmur3_32().hashBytes(str.getBytes(UTF_8));
          assertEquals(hashUtf8, murmur3_32().newHasher().putBytes(str.getBytes(UTF_8)).hash());
          assertEquals(hashUtf8, murmur3_32().hashString(str, UTF_8));
          assertEquals(hashUtf8, murmur3_32().newHasher().putString(str, UTF_8).hash());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top