Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 908 for MAIN (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/SmbResource.java

    /**
     * This class represents a resource on an SMB network. Mainly these
     * resources are files and directories however an <code>SmbFile</code>
     * may also refer to servers and workgroups.
     *
     * @see jcifs.smb.SmbFile for the main implementation of this interface
     * @author mbechler
     */
    public interface SmbResource extends AutoCloseable {
    
        /**
         * Gets the file locator for this file
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 28K bytes
    - Click Count (1)
  2. docs/zh-hant/docs/how-to/custom-docs-ui-assets.md

    以下示範如何在同一個 FastAPI 應用中自行提供這些檔案,並設定文件使用它們。
    
    ### 專案檔案結構 { #project-file-structure }
    
    假設你的專案檔案結構如下:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    ```
    
    現在建立一個目錄來存放這些靜態檔案。
    
    新的檔案結構可能如下:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    └── static/
    ```
    
    ### 下載檔案 { #download-the-files }
    
    下載文件所需的靜態檔案並放到 `static/` 目錄中。
    
    你可以在各連結上按右鍵,選擇類似「另存連結為...」的選項。
    
    Swagger UI 需要以下檔案:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/debugging.md

    ## Chamar `uvicorn` { #call-uvicorn }
    
    Em sua aplicação FastAPI, importe e execute `uvicorn` diretamente:
    
    {* ../../docs_src/debugging/tutorial001_py310.py hl[1,15] *}
    
    ### Sobre `__name__ == "__main__"` { #about-name-main }
    
    O objetivo principal de `__name__ == "__main__"` é ter algum código que seja executado quando seu arquivo for chamado com:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. docs_src/settings/app02_py310/test_main.py

    from fastapi.testclient import TestClient
    
    from .config import Settings
    from .main import app, get_settings
    
    client = TestClient(app)
    
    
    def get_settings_override():
        return Settings(admin_email="******@****.***")
    
    
    app.dependency_overrides[get_settings] = get_settings_override
    
    
    def test_app():
        response = client.get("/info")
        data = response.json()
        assert data == {
            "app_name": "Awesome API",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 515 bytes
    - Click Count (0)
  5. tests/test_fastapi_cli.py

    
    def test_fastapi_cli_not_installed():
        with patch.object(fastapi.cli, "cli_main", None):
            with pytest.raises(RuntimeError) as exc_info:
                fastapi.cli.main()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 02 04:02:38 GMT 2025
    - 866 bytes
    - Click Count (0)
  6. docs/uk/docs/how-to/custom-docs-ui-assets.md

    Припустімо, що структура файлів вашого проєкту виглядає так:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    ```
    
    Тепер створіть каталог для збереження цих статичних файлів.
    
    Нова структура файлів може виглядати так:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    └── static/
    ```
    
    ### Завантажте файли { #download-the-files }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/debugging.md

    Dans votre application FastAPI, importez et exécutez directement `uvicorn` :
    
    {* ../../docs_src/debugging/tutorial001_py310.py hl[1,15] *}
    
    ### À propos de `__name__ == "__main__"` { #about-name-main }
    
    Le but principal de `__name__ == "__main__"` est d'avoir du code qui est exécuté lorsque votre fichier est appelé avec :
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  8. src/main/assemblies/zip-bin.xml

    <?xml version="1.0"?>
    <assembly>
    	<id>zip</id>
    	<formats>
    		<format>zip</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
    - 291 bytes
    - Click Count (0)
  9. build-logic-commons/basics/build.gradle.kts

        compileOnly(buildLibs.kotlinCompilerEmbeddable) {
            because("Required by KotlinSourceParser")
        }
        implementation(buildLibs.kgp) {
            because("For manually defined KotlinSourceSet accessor - sourceSets.main.get().kotlin")
        }
    
        testImplementation(testLibs.junit5JupiterEngine)
    
        testRuntimeOnly(testLibs.junitPlatform)
    }
    
    tasks.test {
        useJUnitPlatform()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 09:06:26 GMT 2026
    - 903 bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/security/first-steps.md

    ## Voir à quoi cela ressemble { #how-it-looks }
    
    Commençons par utiliser le code et voir comment cela fonctionne, puis nous reviendrons pour comprendre ce qui se passe.
    
    ## Créer `main.py` { #create-main-py }
    
    Copiez l'exemple dans un fichier `main.py` :
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    
    ## Exécuter { #run-it }
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 9.3K bytes
    - Click Count (0)
Back to Top