Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 578 for barT (0.04 sec)

  1. docs_src/dependencies/tutorial006_an.py

        return x_key
    
    
    @app.get("/items/", dependencies=[Depends(verify_token), Depends(verify_key)])
    async def read_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 643 bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial006_an_py39.py

        return x_key
    
    
    @app.get("/items/", dependencies=[Depends(verify_token), Depends(verify_key)])
    async def read_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 633 bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/common/admin/header.jsp

    <nav class="main-header navbar navbar-expand navbar-dark navbar-secondary">
    	<ul class="navbar-nav">
    		<li class="nav-item">
    			<a class="nav-link" data-widget="pushmenu" href="#">
    				<em class="fas fa-bars">
    				<span class="sr-only"><la:message
    						key="labels.admin_toggle_navi" /></span>
    			</a>
    		</li>
    	</ul>
    	<ul class="navbar-nav ml-auto">
    		<c:if test="${eoled}">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 24 03:00:28 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  4. docs_src/query_params_str_validations/tutorial003_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: str | None = Query(default=None, min_length=3, max_length=50)):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 290 bytes
    - Viewed (0)
  5. docs_src/query_params_str_validations/tutorial006b_an.py

    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[str, Query(min_length=3)] = ...):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 310 bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertUnescaped(e, '@');
    
        // Don't use plus for spaces
        assertEscaping(e, "%20", ' ');
    
        assertEquals("safe%20with%20spaces", e.escape("safe with spaces"));
        assertEquals("foo@bar.com", e.escape("foo@bar.com"));
      }
    
      private UrlEscaperTesting() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. docs_src/query_params_str_validations/tutorial005_an.py

    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[str, Query(min_length=3)] = "fixedquery"):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 319 bytes
    - Viewed (0)
  8. docs_src/events/tutorial001.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    items = {}
    
    
    @app.on_event("startup")
    async def startup_event():
        items["foo"] = {"name": "Fighters"}
        items["bar"] = {"name": "Tenders"}
    
    
    @app.get("/items/{item_id}")
    async def read_items(item_id: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 283 bytes
    - Viewed (0)
  9. docs_src/dependencies/tutorial003_an_py310.py

    from typing import Annotated, Any
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 655 bytes
    - Viewed (0)
  10. docs_src/query_params_str_validations/tutorial009.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Union[str, None] = Query(default=None, alias="item-query")):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 313 bytes
    - Viewed (0)
Back to top