Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 1,342 for makin (0.04 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithDependenciesPlugin.java

                /* The changes this plugin makes both break and aren't needed by
                 * Eclipse. This is because Eclipse flattens main and test
                 * dependencies into a single dependency. Because Eclipse is
                 * "special".... */
                return;
            }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.2K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/first-steps.md

    ```
    
    该 `entrypoint` 会告诉 `fastapi` 命令按如下方式导入应用:
    
    ```python
    from main import app
    ```
    
    如果你的代码结构如下:
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    那么你可以将 `entrypoint` 设置为:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    这等价于:
    
    ```python
    from backend.main import app
    ```
    
    ### `fastapi dev` 带路径 { #fastapi-dev-with-path }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  3. src/main/webapp/WEB-INF/view/admin/dict/synonym/admin_dict_synonym_upload.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="system"/>
            <jsp:param name="menuType" value="dict"/>
        </jsp:include>
        <main class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  4. src/main/webapp/WEB-INF/view/admin/dict/protwords/admin_dict_protwords_upload.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="system"/>
            <jsp:param name="menuType" value="dict"/>
        </jsp:include>
        <main class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/debugging.md

    你可以在编辑器中连接调试器,例如使用 Visual Studio Code 或 PyCharm。
    
    ## 调用 `uvicorn` { #call-uvicorn }
    
    在你的 FastAPI 应用中直接导入 `uvicorn` 并运行:
    
    {* ../../docs_src/debugging/tutorial001_py310.py hl[1,15] *}
    
    ### 关于 `__name__ == "__main__"` { #about-name-main }
    
    `__name__ == "__main__"` 的主要目的是使用以下代码调用文件时执行一些代码:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    而当其它文件导入它时并不会被调用,像这样:
    
    ```Python
    from myapp import app
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  6. scripts/deploy_docs_status.py

        run_id: int
        state: Literal["pending", "success", "error"] = "pending"
    
    
    class LinkData(BaseModel):
        previous_link: str
        preview_link: str
        en_link: str | None = None
    
    
    def main() -> None:
        logging.basicConfig(level=logging.INFO)
        settings = Settings()
    
        logging.info(f"Using config: {settings.model_dump_json()}")
        g = Github(auth=Auth.Token(settings.github_token.get_secret_value()))
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 30 05:56:53 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/index.md

       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with
                 the following code:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/index.md

       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with
                 the following code:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  9. src/main/assemblies/targz-bin.xml

    <?xml version="1.0"?>
    <assembly>
    	<id>targz</id>
    	<formats>
    		<format>tar.gz</format>
    	</formats>
    
    	<includeBaseDirectory>false</includeBaseDirectory>
    
    	<componentDescriptors>
    		<componentDescriptor>src/main/assemblies/common-bin.xml
    		</componentDescriptor>
    	</componentDescriptors>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 13 08:20:29 GMT 2015
    - 296 bytes
    - Click Count (0)
  10. docs_src/app_testing/app_a_py310/test_main.py

    from fastapi.testclient import TestClient
    
    from .main import app
    
    client = TestClient(app)
    
    
    def test_read_main():
        response = client.get("/")
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 238 bytes
    - Click Count (0)
Back to Top