Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 9,260 for import_ (0.1 sec)

  1. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    	sleep 5
    
    	set -x
    	mc alias set new-minio http://localhost:9000 minioadmin minioadmin
    	echo "BEFORE IMPORT mappings:"
    	mc ready new-minio
    	mc idp ldap policy entities new-minio
    	mc admin cluster iam import new-minio ./old-minio-iam-info.zip
    	echo "AFTER IMPORT mappings:"
    	mc idp ldap policy entities new-minio
    	set +x
    
    	# mc admin service stop new-minio
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/bigger-applications.md

    Também poderíamos importá-los como:
    
    ```Python
    from app.routers import items, users
    ```
    
    /// info | "Informação"
    
    A primeira versão é uma "importação relativa":
    
    ```Python
    from .routers import items, users
    ```
    
    A segunda versão é uma "importação absoluta":
    
    ```Python
    from app.routers import items, users
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. 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 criada automaticamente dentro de `myapp.py` não terá a variável `__name__` com o valor `"__main__"`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

     */
    package org.apache.maven.classrealm;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.net.MalformedURLException;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Random;
    import java.util.Set;
    import java.util.TreeMap;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/debugging.md

    So, the section:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    will run.
    
    ---
    
    This won't happen if you import that module (file).
    
    So, if you have another file `importer.py` with:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    in that case, the automatically created variable inside of `myapp.py` will not have the variable `__name__` with a value of `"__main__"`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. common/config/.golangci.yml

        ignore-generated-header: false
        severity: "warning"
        confidence: 0.0
        rules:
          - name: blank-imports
          - name: context-keys-type
          - name: time-naming
          - name: var-declaration
          - name: unexported-return
          - name: errorf
          - name: context-as-argument
          - name: dot-imports
          - name: error-return
          - name: error-strings
          - name: error-naming
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

     */
    package okhttp3
    
    import java.io.File
    import java.io.FileDescriptor
    import java.io.FileInputStream
    import java.io.IOException
    import okhttp3.internal.chooseCharset
    import okhttp3.internal.commonContentLength
    import okhttp3.internal.commonIsDuplex
    import okhttp3.internal.commonIsOneShot
    import okhttp3.internal.commonToRequestBody
    import okio.BufferedSink
    import okio.ByteString
    import okio.FileSystem
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs/en/docs/reference/middleware.md

    ```
    
    ::: fastapi.middleware.trustedhost.TrustedHostMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.trustedhost import TrustedHostMiddleware
    ```
    
    ::: fastapi.middleware.wsgi.WSGIMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.wsgi import WSGIMiddleware
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 991 bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    import java.util.concurrent.atomic.AtomicReference;
    
    import org.apache.maven.api.model.Dependency;
    import org.apache.maven.api.model.Parent;
    import org.apache.maven.api.model.Repository;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.resolution.InvalidRepositoryException;
    import org.apache.maven.model.resolution.ModelResolver;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/path-params-numeric-validations.md

    Do mesmo modo que você pode declarar mais validações e metadados para parâmetros de consulta com `Query`, você pode declarar os mesmos tipos de validações e metadados para parâmetros de rota com `Path`.
    
    ## Importe `Path`
    
    Primeiro, importe `Path` de `fastapi`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top