Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 9,780 for Imports (0.06 seconds)

  1. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    Since FastAPI 0.119.0, there's also partial support for Pydantic v1 from inside of Pydantic v2, to facilitate the migration to v2.
    
    So, you could upgrade Pydantic to the latest version 2, and change the imports to use the `pydantic.v1` submodule, and in many cases it would just work.
    
    {* ../../docs_src/pydantic_v1_in_v2/tutorial002_an_py310.py hl[2,5,15] *}
    
    /// warning
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  2. build-logic-commons/code-quality-rules/src/main/resources/codenarc/codenarc.xml

            <!--<exclude name='ExplicitCallToAndMethod'/>-->
            <!--<exclude name='ExplicitCallToOrMethod'/>-->
        <!--</ruleset-ref>-->
        <ruleset-ref path='rulesets/braces.xml'/>
        <ruleset-ref path='rulesets/imports.xml'>
            <exclude name="ImportFromSunPackages"/>
            <exclude name="MisorderedStaticImports"/>
            <exclude name="NoWildcardImports"/>
        </ruleset-ref>
        <ruleset-ref path='rulesets/naming.xml'>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DependencyManagementImporter.java

     * under the License.
     */
    package org.apache.maven.model.composition;
    
    import java.util.List;
    
    import org.apache.maven.model.DependencyManagement;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles the import of dependency management from other models into the target model.
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. build-logic-commons/code-quality-rules/src/main/resources/codenarc/codenarc-integtests.xml

            <!--<exclude name='ExplicitCallToAndMethod'/>-->
            <!--<exclude name='ExplicitCallToOrMethod'/>-->
        <!--</ruleset-ref>-->
        <ruleset-ref path='rulesets/braces.xml'/>
        <ruleset-ref path='rulesets/imports.xml'>
            <exclude name="ImportFromSunPackages"/>
            <exclude name="MisorderedStaticImports"/>
            <exclude name="NoWildcardImports"/>
        </ruleset-ref>
        <ruleset-ref path='rulesets/naming.xml'>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.3K bytes
    - Click Count (0)
  5. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

            </module>
    
            <!-- Design -->
            <!--
            <module name="InterfaceIsType"/>
            -->
    
            <!-- Imports -->
            <module name="RedundantImport"/>
            <module name="UnusedImports"/>
            <module name="IllegalImport">
                <!--
                    We shouldn't use jdk.internal types.
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:25 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/debugging.md

    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    but is not called when another file imports it, like in:
    
    ```Python
    from myapp import app
    ```
    
    #### More details { #more-details }
    
    Let's say your file is named `myapp.py`.
    
    If you run it with:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

     */
    package org.apache.maven.cling.invoker;
    
    import java.io.File;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import java.util.function.UnaryOperator;
    
    import com.google.inject.AbstractModule;
    import com.google.inject.Module;
    import org.apache.maven.api.Constants;
    import org.apache.maven.api.ProtoSession;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  8. tensorflow/api_template.__init__.py

    """
    # pylint: disable=g-bad-import-order,protected-access,g-import-not-at-top
    
    import sysconfig as _sysconfig
    import importlib
    import inspect as _inspect
    import os as _os
    import site as _site
    import sys as _sys
    
    _os.environ.setdefault("ENABLE_RUNTIME_UPTIME_TELEMETRY", "1")
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Oct 02 22:16:02 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  9. docs/changelogs/upgrading_to_okhttp_4.md

    
    Companion Imports
    -----------------
    
    The equivalent of static methods in Java is companion object functions in Kotlin. The bytecode is
    the same but `.kt` files now need `Companion` in the import.
    
    This works with OkHttp 3.x:
    
    ```kotlin
    import okhttp3.CipherSuite.forJavaName
    ```
    
    But OkHttp 4.x needs a `Companion`:
    
    ```kotlin
    import okhttp3.CipherSuite.Companion.forJavaName
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  10. 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/app_a_py39/test_main.py hl[3] *}
    
    
    ...and have the code for the tests just like before.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top