Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for __init__ (0.22 sec)

  1. tensorflow/BUILD

            "//conditions:default": "_api/v1/v1.py",
        }),
        out = "__init__.py",
    )
    
    genrule(
        name = "virtual_root_init_gen",
        srcs = select({
            "api_version_2": [":virtual_root_template_v2.__init__.py"],
            "//conditions:default": [":virtual_root_template_v1.__init__.py"],
        }),
        outs = ["virtual_root.__init__.py"],
        cmd = "cp $(SRCS) $(OUTS)",
    )
    
    generate_apis(
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  2. docs/ru/docs/deployment/docker.md

        В этом же разделе, но позже, я покажу вам пример использования Poetry. 👇
    
    ### Создать приложение **FastAPI**
    
    * Создайте директорию `app` и перейдите в неё.
    * Создайте пустой файл `__init__.py`.
    * Создайте файл `main.py` и заполните его:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
Back to top