Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 129 for deflate (0.09 sec)

  1. docs/en/docs/python-types.md

    ```Python hl_lines="2"
    {!../../../docs_src/python_types/tutorial004.py!}
    ```
    
    ## Declaring types
    
    You just saw the main place to declare type hints. As function parameters.
    
    This is also the main place you would use them with **FastAPI**.
    
    ### Simple types
    
    You can declare all the standard Python types, not only `str`.
    
    You can use, for example:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/security/oauth2-scopes.md

        ```Python hl_lines="156"
        {!> ../../../docs_src/security/tutorial005.py!}
        ```
    
    ## Declare scopes in *path operations* and dependencies
    
    Now we declare that the *path operation* for `/users/me/items/` requires the scope `items`.
    
    For this, we import and use `Security` from `fastapi`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/schema-extra-example.md

    # Declare Request Example Data
    
    You can declare examples of the data your app can receive.
    
    Here are several ways to do it.
    
    ## Extra JSON Schema data in Pydantic models
    
    You can declare `examples` for a Pydantic model that will be added to the generated JSON Schema.
    
    === "Python 3.10+ Pydantic v2"
    
        ```Python hl_lines="13-24"
        {!> ../../../docs_src/schema_extra_example/tutorial001_py310.py!}
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/response-model.md

    !!! tip
        If you have strict type checks in your editor, mypy, etc, you can declare the function return type as `Any`.
    
        That way you tell the editor that you are intentionally returning anything. But FastAPI will still do the data documentation, validation, filtering, etc. with the `response_model`.
    
    ### `response_model` Priority
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/resolver.go

    		check.error(ident, InvalidInitDecl, "cannot declare init - must be func")
    		return
    	}
    
    	// spec: "The main package must have package name main and declare
    	// a function main that takes no arguments and returns no value."
    	if ident.Value == "main" && check.pkg.name == "main" {
    		check.error(ident, InvalidMainDecl, "cannot declare main - must be func")
    		return
    	}
    
    	check.declare(check.pkg.scope, ident, obj, nopos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. src/go/types/resolver.go

    		check.error(ident, InvalidInitDecl, "cannot declare init - must be func")
    		return
    	}
    
    	// spec: "The main package must have package name main and declare
    	// a function main that takes no arguments and returns no value."
    	if ident.Name == "main" && check.pkg.name == "main" {
    		check.error(ident, InvalidMainDecl, "cannot declare main - must be func")
    		return
    	}
    
    	check.declare(check.pkg.scope, ident, obj, nopos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/iimport.go

    	case 'A':
    		typ := r.typ()
    
    		r.declare(types.NewTypeName(pos, r.currPkg, name, typ))
    
    	case 'C':
    		typ, val := r.value()
    
    		r.declare(types.NewConst(pos, r.currPkg, name, typ, val))
    
    	case 'F', 'G':
    		var tparams []*types.TypeParam
    		if tag == 'G' {
    			tparams = r.tparamList()
    		}
    		sig := r.signature(nil, nil, tparams)
    		r.declare(types.NewFunc(pos, r.currPkg, name, sig))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/plan/MissingTaskDependencyDetector.java

                        consumer,
                        producer
                    ))
                    .solution("Declare task '" + producer + "' as an input of '" + consumer + "'")
                    .solution("Declare an explicit dependency on '" + producer + "' from '" + consumer + "' using Task#dependsOn")
                    .solution("Declare an explicit dependency on '" + producer + "' from '" + consumer + "' using Task#mustRunAfter")
            );
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. pom.xml

    					</excludes>
    				</configuration>
    			</plugin>
    			<plugin>
    				<groupId>org.dbflute</groupId>
    				<artifactId>dbflute-maven-plugin</artifactId>
    				<configuration>
    					<dbfluteVersion>${dbflute.version}</dbfluteVersion>
    					<packageBase>org.codelibs.fess.dbflute</packageBase>
    					<clientProject>fess</clientProject>
    					<dbfluteClientDir>${basedir}/dbflute_fess</dbfluteClientDir>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:49:02 UTC 2024
    - 48.7K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/ureader.go

    			val := r.Value()
    			declare(types.NewConst(pos, objPkg, objName, typ, val))
    
    		case pkgbits.ObjFunc:
    			pos := r.pos()
    			tparams := r.typeParamNames()
    			sig := r.signature(nil, nil, tparams)
    			declare(types.NewFunc(pos, objPkg, objName, sig))
    
    		case pkgbits.ObjType:
    			pos := r.pos()
    
    			obj := types.NewTypeName(pos, objPkg, objName, nil)
    			named := types.NewNamed(obj, nil, nil)
    			declare(obj)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top