Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Jessica (0.18 sec)

  1. docs_src/bigger_applications/app_an/dependencies.py

        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def get_query_token(token: str):
        if token != "jessica":
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 419 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_bigger_applications/test_main.py

            }
        )
    
    
    def test_users_token_monica_with_no_jessica(client: TestClient):
        response = client.get("/users?token=monica")
        assert response.status_code == 400
        assert response.json() == {"detail": "No Jessica token provided"}
    
    
    def test_items_token_jessica(client: TestClient):
        response = client.get(
            "/items?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.6K bytes
    - Viewed (0)
  3. docs_src/bigger_applications/app/dependencies.py

        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def get_query_token(token: str):
        if token != "jessica":
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 369 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_bigger_applications/test_main_an.py

            }
        )
    
    
    def test_users_token_monica_with_no_jessica(client: TestClient):
        response = client.get("/users?token=monica")
        assert response.status_code == 400
        assert response.json() == {"detail": "No Jessica token provided"}
    
    
    def test_items_token_jessica(client: TestClient):
        response = client.get(
            "/items?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.6K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

    
    @needs_py39
    def test_users_token_monica_with_no_jessica(client: TestClient):
        response = client.get("/users?token=monica")
        assert response.status_code == 400
        assert response.json() == {"detail": "No Jessica token provided"}
    
    
    @needs_py39
    def test_items_token_jessica(client: TestClient):
        response = client.get(
            "/items?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  6. docs_src/bigger_applications/app_an_py39/dependencies.py

        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def get_query_token(token: str):
        if token != "jessica":
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 409 bytes
    - Viewed (0)
  7. docs/en/data/external_links.yml

      - author: Donny Peeters
        author_link: https://github.com/Donnype
        link: https://bitestreams.com/blog/fastapi-sqlalchemy/
        title: 10 Tips for adding SQLAlchemy to FastAPI
      - author: Jessica Temporal
        author_link: https://jtemporal.com/socials
        link: https://jtemporal.com/tips-on-migrating-from-flask-to-fastapi-and-vice-versa/
        title: Tips on migrating from Flask to FastAPI and vice-versa
    Others
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Mar 21 20:57:27 GMT 2024
    - 21.3K bytes
    - Viewed (2)
Back to top