Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 685 for Dict (0.1 seconds)

  1. fastapi/.agents/skills/fastapi/SKILL.md

        return {"username": "johndoe"}
    
    
    CurrentUserDep = Annotated[dict, Depends(get_current_user)]
    
    
    @app.get("/items/")
    async def read_item(current_user: CurrentUserDep):
        return {"message": "Hello World"}
    ```
    
    instead of:
    
    ```python
    # DO NOT DO THIS
    @app.get("/items/")
    async def read_item(current_user: dict = Depends(get_current_user)):
        return {"message": "Hello World"}
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  2. src/main/webapp/WEB-INF/view/admin/dict/admin_dict.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="system"/>
            <jsp:param name="menuType" value="dict"/>
        </jsp:include>
        <main class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 4K bytes
    - Click Count (0)
  3. fastapi/security/http.py

            self.model = HTTPBaseModel(scheme=scheme, description=description)
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
        def make_authenticate_headers(self) -> dict[str, str]:
            return {"WWW-Authenticate": f"{self.model.scheme.title()}"}
    
        def make_not_authenticated_error(self) -> HTTPException:
            return HTTPException(
                status_code=HTTP_401_UNAUTHORIZED,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  4. docs_src/security/tutorial004_py310.py

        if not user:
            verify_password(password, DUMMY_HASH)
            return False
        if not verify_password(password, user.hashed_password):
            return False
        return user
    
    
    def create_access_token(data: dict, expires_delta: timedelta | None = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  5. docs/zh-hant/llm-prompt.md

    - Should avoid using simplified Chinese characters and terms. Always examine if the translation can be easily comprehended by the Traditional Chinese readers.
    - For some Python-specific terms like "pickle", "list", "dict" etc, we don't have to translate them.
    - Use the following preferred translations when they apply in documentation prose:
    
    - request (HTTP): 請求
    - response (HTTP): 回應
    - path operation: 路徑操作
    - path operation function: 路徑操作函式
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 29 18:54:20 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. tests/test_sse.py

        for item in items:
            yield item
    
    
    @app.get("/items/stream-sync-no-annotation", response_class=EventSourceResponse)
    def sse_items_sync_no_annotation():
        yield from items
    
    
    @app.get("/items/stream-dict", response_class=EventSourceResponse)
    async def sse_items_dict():
        for item in items:
            yield {"name": item.name, "description": item.description}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/response-headers.md

    And then you can set headers in that *temporal* response object.
    
    {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *}
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  8. scripts/deploy_docs_status.py

            target_url=run_url,
        )
    
        files = list(use_pr.get_files())
        docs_files = [f for f in files if f.filename.startswith("docs/")]
    
        deploy_url = settings.deploy_url.rstrip("/")
        lang_links: dict[str, list[LinkData]] = {}
        for f in docs_files:
            match = re.match(r"docs/([^/]+)/docs/(.*)", f.filename)
            if not match:
                continue
            lang = match.group(1)
            path = match.group(2)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 30 05:56:53 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. docs/ja/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[19:27] *}
    
    /// note | 技術詳細
    
    `Request` には `request.scope` 属性があり、これはリクエストに関するメタデータを含む Python の `dict` です。
    
    `Request` には `request.receive` もあり、これはリクエストの本体を「受信」するための関数です。
    
    `scope` の `dict` と `receive` 関数はいずれも ASGI 仕様の一部です。
    
    そしてこの 2 つ(`scope` と `receive`)が、新しい `Request` インスタンスを作成するために必要なものです。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  10. docs/de/llm-prompt.md

    * the default value: der Defaultwert
    * the default value: NOT der Standardwert
    * the default declaration: die Default-Deklaration
    * the deployment: das Deployment
    * the dict: das Dict
    * the dictionary: das Dictionary
    * the enumeration: die Enumeration
    * the enum: das Enum
    * the engine: die Engine
    * the error response: die Error-Response
    * the event: das Event
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 29 18:54:20 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top