Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,525 for import_ (0.06 sec)

  1. src/cmd/api/api_test.go

    				pkg, err := w.import_(name)
    				if _, nogo := err.(*build.NoGoError); nogo {
    					continue
    				}
    				if err != nil {
    					b.Fatalf("import %s (%s-%s): %v", name, context.GOOS, context.GOARCH, err)
    				}
    				w.export(pkg)
    			}
    			w.Features()
    		}
    	}
    }
    
    var warmupCache = sync.OnceFunc(func() {
    	// Warm up the import cache in parallel.
    	var wg sync.WaitGroup
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri May 02 17:06:27 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/bigger-applications.md

    También podríamos importarlos así:
    
    ```Python
    from app.routers import items, users
    ```
    
    /// info | Información
    
    La primera versión es un "import relativo":
    
    ```Python
    from .routers import items, users
    ```
    
    La segunda versión es un "import absoluto":
    
    ```Python
    from app.routers import items, users
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  4. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/bigger-applications.md

    {!../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    #### How relative imports work { #how-relative-imports-work }
    
    /// tip
    
    If you know perfectly how imports work, continue to the next section below.
    
    ///
    
    A single dot `.`, like in:
    
    ```Python
    from .dependencies import get_token_header
    ```
    
    would mean:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-fields.md

    ## Import `Field` { #import-field }
    
    First, you have to import it:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning
    
    Notice that `Field` is imported directly from `pydantic`, not from `fastapi` as are all the rest (`Query`, `Path`, `Body`, etc).
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

    import static org.codelibs.core.stream.StreamUtil.split;
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.io.Reader;
    import java.io.Writer;
    import java.nio.file.Files;
    import java.nio.file.Path;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/bigger-applications.md

    Wir könnten sie auch wie folgt importieren:
    
    ```Python
    from app.routers import items, users
    ```
    
    /// info
    
    Die erste Version ist ein „relativer Import“:
    
    ```Python
    from .routers import items, users
    ```
    
    Die zweite Version ist ein „absoluter Import“:
    
    ```Python
    from app.routers import items, users
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/testing.md

    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Because this file is in the same package, you can use relative imports to import the object `app` from the `main` module (`main.py`):
    
    {* ../../docs_src/app_testing/test_main.py hl[3] *}
    
    
    ...and have the code for the tests just like before.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.File
    import java.io.FileDescriptor
    import java.io.FileInputStream
    import java.io.IOException
    import okhttp3.internal.checkOffsetAndCount
    import okhttp3.internal.chooseCharset
    import okio.BufferedSink
    import okio.ByteString
    import okio.FileSystem
    import okio.Path
    import okio.source
    
    abstract class RequestBody {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top