Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 539 for Chow (0.15 sec)

  1. docs/en/docs/tutorial/bigger-applications.md

    ```Python hl_lines="3" title="app/routers/items.py"
    {!../../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    #### How relative imports work
    
    !!! tip
        If you know perfectly how imports work, continue to the next section below.
    
    A single dot `.`, like in:
    
    ```Python
    from .dependencies import get_token_header
    ```
    
    would mean:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. README.md

    We just scratched the surface, but you already get the idea of how it all works.
    
    Try changing the line with:
    
    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ...from:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ...to:
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    ...and see how your editor will auto-complete the attributes and know their types:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/first-steps.md

    #### Check the `openapi.json`
    
    If you are curious about how the raw OpenAPI schema looks like, FastAPI automatically generates a JSON (schema) with the descriptions of all your API.
    
    You can see it directly at: <a href="http://127.0.0.1:8000/openapi.json" class="external-link" target="_blank">http://127.0.0.1:8000/openapi.json</a>.
    
    It will show a JSON starting with something like:
    
    ```JSON
    {
        "openapi": "3.1.0",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. src/bytes/example_test.go

    	// Output:
    	// 3
    	// 5
    }
    
    func ExampleCut() {
    	show := func(s, sep string) {
    		before, after, found := bytes.Cut([]byte(s), []byte(sep))
    		fmt.Printf("Cut(%q, %q) = %q, %q, %v\n", s, sep, before, after, found)
    	}
    	show("Gopher", "Go")
    	show("Gopher", "ph")
    	show("Gopher", "er")
    	show("Gopher", "Badger")
    	// Output:
    	// Cut("Gopher", "Go") = "", "pher", true
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  5. docs/bucket/replication/README.md

    The replication configuration in use on a bucket can be viewed using the `mc replicate export alias/bucket` command.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 24 23:46:33 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  6. cni/pkg/repair/repaircontroller.go

    			continue
    		}
    
    		// For safety, check the containers *current* status. If the container
    		// successfully exited, we NEVER want to identify this pod as broken.
    		// If the pod is going to fail, the failure state will show up in
    		// LastTerminationState eventually.
    		if state := container.State.Terminated; state != nil {
    			if state.Reason == "Completed" || state.ExitCode == 0 {
    				continue
    			}
    		}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. src/main/assemblies/extension/kibana/fess_log.ndjson

    categoryAxes\":[{\"id\":\"CategoryAxis-1\",\"type\":\"category\",\"position\":\"bottom\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\"},\"labels\":{\"show\":true,\"truncate\":100},\"title\":{}}],\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"name\":\"LeftAxis-1\",\"type\":\"value\",\"position\":\"left\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\",\"mode\":\"normal\"},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":100},\"title\":{\"text\":\"Query Count\"}...
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Aug 12 01:26:21 GMT 2019
    - 18.2K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/adminlte.min.js

    e(t,e){this._config=e,this._element=t}return e.prototype.toggleSubmenu=function(){this._element.siblings().show().toggleClass("show"),this._element.next().hasClass("show")||this._element.parents(".dropdown-menu").first().find(".show").removeClass("show").hide(),this._element.parents("li.nav-item.dropdown.show").on("hidden.bs.dropdown",(function(e){t(".dropdown-submenu .show").removeClass("show").hide()}))},e._jQueryInterface=function(i){return this.each((function(){var n=t(this).data("lte.dropdown...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Wed Feb 12 07:55:41 GMT 2020
    - 23.7K bytes
    - Viewed (3)
  9. docs/en/docs/how-to/sql-databases-peewee.md

    !!! warning "Python 3.7+ required"
        You will need Python 3.7 or above to safely use Peewee with FastAPI.
    
    ## Peewee for async
    
    Peewee was not designed for async frameworks, or with them in mind.
    
    Peewee has some heavy assumptions about its defaults and about how it should be used.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/security/oauth2-scopes.md

            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="62-65"
        {!> ../../../docs_src/security/tutorial005.py!}
        ```
    
    Because we are now declaring those scopes, they will show up in the API docs when you log-in/authorize.
    
    And you will be able to select which scopes you want to give access to: `me` and `items`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
Back to top