Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Meleti (0.16 sec)

  1. doc/go_spec.html

    <p>
    The built-in function <code>delete</code> removes the element with key
    <code>k</code> from a <a href="#Map_types">map</a> <code>m</code>. The
    value <code>k</code> must be <a href="#Assignability">assignable</a>
    to the key type of <code>m</code>.
    </p>
    
    <pre class="grammar">
    delete(m, k)  // remove element m[k] from map m
    </pre>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

        ...
    
    
    @app.get("/items/{item_id}")
    def read_item(*, user: User = Depends(get_current_user), item_id: int):
        ...
    
    
    @app.delete("/items/{item_id}")
    def delete_item(*, user: User = Depends(get_current_user), item_id: int):
        ...
    ```
    
    There's a bit of code duplication for the dependency:
    
    ```Python
    user: User = Depends(get_current_user)
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top