Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 109 for Imported (0.08 seconds)

  1. src/cmd/api/main_test.go

    	current     *apiPackage
    	deprecated  map[token.Pos]bool
    	features    map[string]bool              // set
    	imported    map[string]*apiPackage       // packages already imported
    	stdPackages []string                     // names, omitting "unsafe", internal, and vendored packages
    	importMap   map[string]map[string]string // importer dir -> import path -> canonical path
    	importDir   map[string]string            // canonical import path -> dir
    
    }
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 31.4K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/background-tasks.md

    ## Technical Details { #technical-details }
    
    The class `BackgroundTasks` comes directly from [`starlette.background`](https://www.starlette.dev/background/).
    
    It is imported/included directly into FastAPI so that you can import it from `fastapi` and avoid accidentally importing the alternative `BackgroundTask` (without the `s` at the end) from `starlette.background`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

     * double myMedian = median().compute(myDataset);
     * }
     *
     * where {@link #median()} has been statically imported.
     *
     * <p>To compute the 99th percentile:
     *
     * {@snippet :
     * double myPercentile99 = percentiles().index(99).compute(myDataset);
     * }
     *
     * where {@link #percentiles()} has been statically imported.
     *
     * <p>To compute median and the 90th and 99th percentiles:
     *
     * {@snippet :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  4. scripts/docs.py

        # Build a set of directory-based package roots (e.g. docs_src/bigger_applications/app_py39)
        # where at least one file is referenced in docs. All files in these directories
        # should be kept since they may be internally imported by the referenced files.
        used_package_dirs: set[Path] = set()
        for py_file in docs_src_path.rglob("*.py"):
            if py_file.name == "__init__.py":
                continue
            rel_path = str(py_file)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/security/oauth2-scopes.md

    We also declare a special parameter of type `SecurityScopes`, imported from `fastapi.security`.
    
    This `SecurityScopes` class is similar to `Request` (`Request` was used to get the request object directly).
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[9,106] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/bigger-applications.md

    We are importing the submodule `items` directly, instead of importing just its variable `router`.
    
    This is because we also have another variable named `router` in the submodule `users`.
    
    If we had imported one after the other, like:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  7. doc/go_spec.html

    depends on functionality of the <i>imported</i> package
    (<a href="#Program_initialization_and_execution">§Program initialization and execution</a>)
    and enables access to <a href="#Exported_identifiers">exported</a> identifiers
    of that package.
    The import names an identifier (PackageName) to be used for access and an ImportPath
    that specifies the package to be imported.
    </p>
    
    <pre class="ebnf">
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  8. docs/fr/docs/tutorial/debugging.md

    Ainsi, la section :
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    va s'exécuter.
    
    ---
    
    Cela ne se produira pas si vous importez ce module (fichier).
    
    Par exemple, si vous avez un autre fichier `importer.py` qui contient :
    
    ```Python
    from myapp import app
    
    # Code supplémentaire
    ```
    
    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)
  9. docs/fr/docs/advanced/wsgi.md

    ## Utiliser `WSGIMiddleware` { #using-wsgimiddleware }
    
    /// info
    
    Cela nécessite l'installation de `a2wsgi`, par exemple avec `pip install a2wsgi`.
    
    ///
    
    Vous devez importer `WSGIMiddleware` depuis `a2wsgi`.
    
    Ensuite, enveloppez l'application WSGI (par ex. Flask) avec le middleware.
    
    Puis, montez-la sous un chemin.
    
    {* ../../docs_src/wsgi/tutorial001_py310.py hl[1,3,23] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/debugging.md

    Então, a seção:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    vai executar.
    
    ---
    
    Isso não acontecerá se você importar esse módulo (arquivo).
    
    Então, se você tiver outro arquivo `importer.py` com:
    
    ```Python
    from myapp import app
    
    # Mais um pouco de código
    ```
    
    nesse caso, a variável `__name__` criada automaticamente dentro de `myapp.py` não terá o valor `"__main__"`.
    
    Então, a linha:
    
    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)
Back to Top