Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 234 for imported (0.05 seconds)

  1. docs/zh/docs/tutorial/debugging.md

    所以,下面这部分代码才会运行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    ---
    
    如果你是导入这个模块(文件)就不会这样。
    
    因此,如果你的另一个文件 `importer.py` 像这样:
    
    ```Python
    from myapp import app
    
    # 其他一些代码
    ```
    
    在这种情况下,`myapp.py` 内部的自动变量不会有值为 `"__main__"` 的变量 `__name__`。
    
    所以,下面这一行不会被执行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    /// info | 信息
    
    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)
  2. docs/fr/docs/tutorial/query-params-str-validations.md

    ## Validation additionnelle { #additional-validation }
    
    Nous allons imposer que, même si `q` est optionnel, dès qu’il est fourni, **sa longueur n’excède pas 50 caractères**.
    
    ### Importer `Query` et `Annotated` { #import-query-and-annotated }
    
    Pour ce faire, importez d’abord :
    
    - `Query` depuis `fastapi`
    - `Annotated` depuis `typing`
    
    {* ../../docs_src/query_params_str_validations/tutorial002_an_py310.py hl[1,3] *}
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 19K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/test/resources/poms/validation/bad-import-scope-type.xml

      <version>0.1</version>
    
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>test</groupId>
            <artifactId>a</artifactId>
            <version>0.1</version>
            <scope>import</scope>
            <!-- missing type=pom -->
          </dependency>
        </dependencies>
      </dependencyManagement>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/debugging.md

    因此,這段:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    會被執行。
    
    ---
    
    如果你是匯入該模組(檔案),就不會發生這件事。
    
    所以,如果你有另一個檔案 `importer.py`,內容如下:
    
    ```Python
    from myapp import app
    
    # 其他程式碼
    ```
    
    在那種情況下,`myapp.py` 中自動建立的變數 `__name__` 就不會是 `"__main__"`。
    
    因此,這一行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    就不會被執行。
    
    /// info | 說明
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  5. docs/fr/docs/advanced/templates.md

    <div class="termy">
    
    ```console
    $ pip install jinja2
    
    ---> 100%
    ```
    
    </div>
    
    ## Utiliser `Jinja2Templates` { #using-jinja2templates }
    
    - Importez `Jinja2Templates`.
    - Créez un objet `templates` que vous pourrez réutiliser par la suite.
    - Déclarez un paramètre `Request` dans le *chemin d'accès* qui renverra un template.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/IndexExportFormatter.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.job;
    
    import java.util.Map;
    import java.util.Set;
    
    /**
     * Strategy interface for formatting exported index documents.
     */
    public interface IndexExportFormatter {
    
        /**
         * Returns the file extension for this format (e.g. ".html", ".json").
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 07 10:31:36 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/debugging.md

    ```
    
    ausgeführt.
    
    ---
    
    Dies wird nicht passieren, wenn Sie das Modul (die Datei) importieren.
    
    Wenn Sie also eine weitere Datei `importer.py` mit folgendem Inhalt haben:
    
    ```Python
    from myapp import app
    
    # Hier mehr Code
    ```
    
    wird in diesem Fall in `myapp.py` die automatisch erstellte Variable `__name__` nicht den Wert `"__main__"` haben.
    
    Daher wird die Zeile:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.concurrent
    
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.RejectedExecutionException
    import okhttp3.internal.okHttpName
    
    /**
     * A set of tasks that are executed in sequential order.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/ArtifactFilterManagerDelegate.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven;
    
    import java.util.Set;
    
    /**
     * @deprecated use {@code META-INF/maven/extension.xml} to define artifacts exported by Maven core extensions.
     */
    @Deprecated
    public interface ArtifactFilterManagerDelegate {
    
        void addExcludes(Set<String> excludes);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  10. docs/fr/docs/fastapi-cli.md

    ```toml
    [tool.fastapi]
    entrypoint = "main:app"
    ```
    
    Cet `entrypoint` indiquera à la commande `fastapi` qu’elle doit importer l’application comme ceci :
    
    ```python
    from main import app
    ```
    
    Si votre code était structuré comme ceci :
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    Vous définiriez alors le `entrypoint` comme suit :
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 6.4K bytes
    - Click Count (0)
Back to Top