Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 393 for logic (0.05 seconds)

  1. docs/en/data/members.yml

    members:
    - login: tiangolo
      avatar_url: https://avatars.githubusercontent.com/u/1326112
      url: https://github.com/tiangolo
    - login: Kludex
      avatar_url: https://avatars.githubusercontent.com/u/7353520
      url: https://github.com/Kludex
    - login: alejsdev
      avatar_url: https://avatars.githubusercontent.com/u/90076947
      url: https://github.com/alejsdev
    - login: svlandeg
      avatar_url: https://avatars.githubusercontent.com/u/8796347
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Feb 18 18:44:00 GMT 2025
    - 819 bytes
    - Click Count (0)
  2. tests/test_tutorial/test_request_form_models/test_tutorial001.py

    
    def test_post_body_form(client: TestClient):
        response = client.post("/login/", data={"username": "Foo", "password": "secret"})
        assert response.status_code == 200
        assert response.json() == {"username": "Foo", "password": "secret"}
    
    
    def test_post_body_form_no_password(client: TestClient):
        response = client.post("/login/", data={"username": "Foo"})
        assert response.status_code == 422
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_request_forms/test_tutorial001.py

        return client
    
    
    def test_post_body_form(client: TestClient):
        response = client.post("/login/", data={"username": "Foo", "password": "secret"})
        assert response.status_code == 200
        assert response.json() == {"username": "Foo"}
    
    
    def test_post_body_form_no_password(client: TestClient):
        response = client.post("/login/", data={"username": "Foo"})
        assert response.status_code == 422
        assert response.json() == {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. docs/en/data/people.yml

    - login: slafs
      count: 2
      avatarUrl: https://avatars.githubusercontent.com/u/210173?v=4
      url: https://github.com/slafs
    - login: purepani
      count: 2
      avatarUrl: https://avatars.githubusercontent.com/u/7587353?v=4
      url: https://github.com/purepani
    - login: ddahan
      count: 2
      avatarUrl: https://avatars.githubusercontent.com/u/1933516?u=1d200a620e8d6841df017e9f2bb7efb58b580f40&v=4
      url: https://github.com/ddahan
    - login: TaigoFr
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Sep 05 08:57:16 GMT 2025
    - 28.6K bytes
    - Click Count (0)
  5. docs/en/data/translation_reviewers.yml

    s111d:
      login: s111d
      count: 147
      avatarUrl: https://avatars.githubusercontent.com/u/4954856?v=4
      url: https://github.com/s111d
    Xewus:
      login: Xewus
      count: 140
      avatarUrl: https://avatars.githubusercontent.com/u/85196001?u=f8e2dc7e5104f109cef944af79050ea8d1b8f914&v=4
      url: https://github.com/Xewus
    sodaMelon:
      login: sodaMelon
      count: 127
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 01 06:27:43 GMT 2025
    - 65K bytes
    - Click Count (0)
  6. docs/en/data/contributors.yml

    tiangolo:
      login: tiangolo
      count: 808
      avatarUrl: https://avatars.githubusercontent.com/u/1326112?u=cb5d06e73a9e1998141b1641aa88e443c6717651&v=4
      url: https://github.com/tiangolo
    dependabot:
      login: dependabot
      count: 130
      avatarUrl: https://avatars.githubusercontent.com/in/29110?v=4
      url: https://github.com/apps/dependabot
    alejsdev:
      login: alejsdev
      count: 52
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 01 06:27:43 GMT 2025
    - 20K bytes
    - Click Count (0)
  7. tests/test_security_oauth2_optional.py

    
    def get_current_user(oauth_header: Optional[str] = Security(reusable_oauth2)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.post("/login")
    def login(form_data: OAuth2PasswordRequestFormStrict = Depends()):
        return form_data
    
    
    @app.get("/users/me")
    def read_users_me(current_user: Optional[User] = Depends(get_current_user)):
        if current_user is None:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. scripts/sponsors.py

    
    sponsors_query = """
    query Q($after: String) {
      user(login: "tiangolo") {
        sponsorshipsAsMaintainer(first: 100, after: $after) {
          edges {
            cursor
            node {
              sponsorEntity {
                ... on Organization {
                  login
                  avatarUrl
                  url
                }
                ... on User {
                  login
                  avatarUrl
                  url
                }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. scripts/contributors.py

            if pr.state == "MERGED" and pr.author:
                if is_lang:
                    translators[pr.author.login] += 1
                else:
                    contributors[pr.author.login] += 1
        return ContributorsResults(
            contributors=contributors,
            translation_reviewers=translation_reviewers,
            translators=translators,
            authors=authors,
        )
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  10. tests/test_security_oauth2.py

    # Here we use string annotations to test them
    def get_current_user(oauth_header: "str" = Security(reusable_oauth2)):
        user = User(username=oauth_header)
        return user
    
    
    @app.post("/login")
    # Here we use string annotations to test them
    def login(form_data: "OAuth2PasswordRequestFormStrict" = Depends()):
        return form_data
    
    
    @app.get("/users/me")
    # Here we use string annotations to test them
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top