Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1081 - 1090 of 1,304 for DEF (0.01 seconds)

  1. Jenkinsfile

     *
     * mavenBuild("<jdk>", "<profiles> <goals> <plugins> <properties>"
     *
     * @param jdk the jdk tool name (in jenkins) to use for this build
     * @param extraArgs extra command line args
     */
    def mavenBuild(jdk, extraArgs) {
      script {
        try {
          withEnv(["JAVA_HOME=${tool "$jdk"}",
                   "PATH+MAVEN=${tool "$jdk"}/bin:${tool "maven_3_latest"}/bin",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 10 12:31:48 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. docs_src/python_types/tutorial008b_py39.py

    from typing import Union
    
    
    def process_item(item: Union[int, str]):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 84 bytes
    - Click Count (0)
  3. docs_src/first_steps/tutorial001_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def root():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 117 bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/dependencies/sub-dependencies.md

    //// tab | Python 3.9+
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.9+ без Annotated
    
    /// tip | Подсказка
    
    Предпочтительнее использовать версию с аннотацией, если это возможно.
    
    ///
    
    ```Python hl_lines="1"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. docs_src/python_types/tutorial008_py39.py

    def process_items(prices: dict[str, float]):
        for item_name, item_price in prices.items():
            print(item_name)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Jan 16 14:44:08 GMT 2022
    - 145 bytes
    - Click Count (0)
  6. docs_src/path_operation_advanced_configuration/tutorial003_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/", include_in_schema=False)
    async def read_items():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 148 bytes
    - Click Count (0)
  7. docs_src/path_params/tutorial001_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 138 bytes
    - Click Count (0)
  8. docs_src/path_params/tutorial004_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/files/{file_path:path}")
    async def read_file(file_path: str):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 156 bytes
    - Click Count (0)
  9. docs_src/custom_response/tutorial005_py39.py

    from fastapi import FastAPI
    from fastapi.responses import PlainTextResponse
    
    app = FastAPI()
    
    
    @app.get("/", response_class=PlainTextResponse)
    async def main():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 186 bytes
    - Click Count (0)
  10. docs_src/request_forms/tutorial001_py39.py

    from fastapi import FastAPI, Form
    
    app = FastAPI()
    
    
    @app.post("/login/")
    async def login(username: str = Form(), password: str = Form()):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 173 bytes
    - Click Count (0)
Back to Top