Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Yellow (0.78 sec)

  1. docs/em/docs/deployment/docker.md

    * โœ ๐Ÿ› ๐Ÿ“ `__init__.py`.
    * โœ `main.py` ๐Ÿ“ โฎ๏ธ:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### ๐Ÿ“
    
    ๐Ÿ”œ ๐ŸŽ ๐Ÿ— ๐Ÿ“ โœ ๐Ÿ“ `Dockerfile` โฎ๏ธ:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 27.9K bytes
    - Viewed (0)
  2. docs/ja/docs/deployment/docker.md

    * ็ฉบใฎใƒ•ใ‚กใ‚คใƒซ `__init__.py` ใ‚’ไฝœๆˆใ—ใพใ™
    * `main.py` ใƒ•ใ‚กใ‚คใƒซใ‚’ไฝœๆˆใ—ใพใ™๏ผš
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 44.3K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/docker.md

    ---
    
    The main point is, **none** of these are **rules written in stone** that you have to blindly follow. You can use these ideas to **evaluate your own use case** and decide what is the best approach for your system, checking out how to manage the concepts of:
    
    * Security - HTTPS
    * Running on startup
    * Restarts
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top