Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 384 for forks (0.05 sec)

  1. docs_src/schema_extra_example/tutorial005.py

    async def update_item(
        *,
        item_id: int,
        item: Item = Body(
            openapi_examples={
                "normal": {
                    "summary": "A normal example",
                    "description": "A **normal** item works correctly.",
                    "value": {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/get-current-user.md

    Do you want to just have a `str`? Or just a `dict`? Or a database class model instance directly? It all works the same way.
    
    You actually don't have users that log in to your application but robots, bots, or other systems, that have just an access token? Again, it all works the same.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. docs/changelogs/upgrading_to_okhttp_4.md

    
    Companion Imports
    -----------------
    
    The equivalent of static methods in Java is companion object functions in Kotlin. The bytecode is
    the same but `.kt` files now need `Companion` in the import.
    
    This works with OkHttp 3.x:
    
    ```kotlin
    import okhttp3.CipherSuite.forJavaName
    ```
    
    But OkHttp 4.x needs a `Companion`:
    
    ```kotlin
    import okhttp3.CipherSuite.Companion.forJavaName
    ```
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  4. internal/dsync/drwmutex_test.go

    	mu := NewDRWMutex(ds, "test-unlock-panic-2")
    	defer func() {
    		if recover() == nil {
    			t.Fatalf("unlock of unlocked RWMutex did not panic")
    		}
    		mu.RUnlock(context.Background()) // Unlock, so -test.count > 1 works
    	}()
    	mu.RLock(id, source)
    	mu.Unlock(context.Background())
    }
    
    // Borrowed from rwmutex_test.go
    func TestRUnlockPanic(t *testing.T) {
    	defer func() {
    		if recover() == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  5. LICENSE

    identifiable sections of that work are not derived from the Library,
    and can be reasonably considered independent and separate works in
    themselves, then this License, and its terms, do not apply to those
    sections when you distribute them as separate works.  But when you
    distribute the same sections as part of a whole which is a work based
    on the Library, the distribution of the whole must be on the terms of
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-fields.md

    ///
    
    ## Declare model attributes
    
    You can then use `Field` with model attributes:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    `Field` works the same way as `Query`, `Path` and `Body`, it has all the same parameters, etc.
    
    /// note | "Technical Details"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:01:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/custom-docs-ui-assets.md

    Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper.
    
    ///
    
    ### Create a *path operation* to test it
    
    Now, to be able to test that everything works, create a *path operation*:
    
    {* ../../docs_src/custom_docs_ui/tutorial001.py hl[36:38] *}
    
    ### Test it
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:42:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. mockwebserver-junit5/README.md

      @MockWebServerInstance("server3") private val server3: MockWebServer
    ) {
      @Test
      fun test() {
        ...
      }
    }
    ```
    
    Requirements
    ------------
    
    MockWebServer's JUnit 5 integration works on Android 7.0+ (API level 24+) and Java 8+. Note that
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. docs/en/docs/index.md

    <div class="termy">
    
    ```console
    $ pip install "fastapi[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    **Note**: Make sure you put `"fastapi[standard]"` in quotes to ensure it works in all terminals.
    
    ## Example
    
    ### Create it
    
    * Create a file `main.py` with:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            dstIndex += 2;
    
            /*
             * windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
            return dstIndex - start;
        }
    
    
        /**
         * @param il
         * @return
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
Back to top