Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 117 for imported4 (0.08 sec)

  1. guava/src/com/google/common/collect/RegularImmutableBiMap.java

        this.keyTable = keyTable;
        this.valueTable = valueTable;
        this.entries = entries;
        this.mask = mask;
        this.hashCode = hashCode;
      }
    
      // checkNoConflictInKeyBucket is static imported from RegularImmutableMap
    
      /**
       * @throws IllegalArgumentException if another entry in the bucket has the same key
       * @throws BucketOverflowException if this bucket has too many entries, which may indicate a hash
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/debugging.md

    </div>
    
    那么文件中由 Python 自动创建的内部变量 `__name__`,会将字符串 `"__main__"` 作为值。
    
    所以,下面这部分代码才会运行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    ---
    
    如果你是导入这个模块(文件)就不会这样。
    
    因此,如果你的另一个文件 `importer.py` 像这样:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    在这种情况下,`myapp.py` 内部的自动变量不会有值为 `"__main__"` 的变量 `__name__`。
    
    所以,下面这一行不会被执行:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/background-tasks.md

    ## Technical Details
    
    The class `BackgroundTasks` comes directly from <a href="https://www.starlette.io/background/" class="external-link" target="_blank">`starlette.background`</a>.
    
    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`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:22:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. misc/cgo/gmp/gmp.go

    	// #include <gmp.h>
    	import "C"
    
    is a signal to cgo.  The doc comment on the import of "C" provides
    additional context for the C file.  Here it is just a single #include
    but it could contain arbitrary C definitions to be imported and used.
    
    Cgo recognizes any use of a qualified identifier C.xxx and uses gcc to
    find the definition of xxx.  If xxx is a type, cgo replaces C.xxx with
    a Go translation.  C arithmetic types translate to precisely-sized Go
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  5. tensorflow/api_template_v1.__init__.py

    # sets the __all__ variable. If it does, we have to be sure to add
    # "contrib".
    if "__all__" in vars():
      vars()["__all__"].append("contrib")
    
    from tensorflow.python.platform import flags
    # The "app" module will be imported as part of the placeholder section above.
    _current_module.app.flags = flags  # pylint: disable=undefined-variable
    setattr(_current_module, "flags", flags)
    
    _major_api_version = 1
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/request_files.md

    E.g. `pip install python-multipart`.
    
    Isso se deve por que arquivos enviados são enviados como "dados de formulário".
    
    ///
    
    ## Importe `File`
    
    Importe `File` e `UploadFile` do `fastapi`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/request_files/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. docs/fr/docs/project-generation.md

    * Migrations **Alembic**.
    * **CORS** (partage des ressources entre origines multiples, ou *Cross Origin Resource Sharing*).
    * *Worker* **Celery** pouvant importer et utiliser les modèles et le code du reste du backend.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/templates.md

    ## Instalação de dependências
    
    Para instalar o `jinja2`, siga o código abaixo:
    
    <div class="termy">
    
    ```console
    $ pip install jinja2
    ```
    
    </div>
    
    ## Usando `Jinja2Templates`
    
    * Importe `Jinja2Templates`.
    * Crie um `templates` que você possa reutilizar posteriormente.
    * Declare um parâmetro `Request` no *path operation* que retornará um template.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. api/go1.12.txt

    pkg debug/pe, const IMAGE_FILE_MACHINE_ARMNT ideal-int
    pkg expvar, method (*Map) Delete(string)
    pkg go/doc, const PreserveAST = 4
    pkg go/doc, const PreserveAST Mode
    pkg go/importer, func ForCompiler(*token.FileSet, string, Lookup) types.Importer
    pkg go/token, method (*File) LineStart(int) Pos
    pkg io, type StringWriter interface { WriteString }
    pkg io, type StringWriter interface, WriteString(string) (int, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  10. docs/pt/docs/deployment/manually.md

    ///
    
    ## Execute o Programa Servidor
    
    Se você instalou um servidor ASGI manualmente, normalmente precisará passar uma string de importação em um formato especial para que ele importe sua aplicação FastAPI:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --host 0.0.0.0 --port 80
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 20 11:10:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top