Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,088 for instead (0.14 sec)

  1. docs/en/docs/advanced/advanced-dependencies.md

    And that way we are able to "parameterize" our dependency, that now has `"bar"` inside of it, as the attribute `checker.fixed_content`.
    
    ## Use the instance as a dependency
    
    Then, we could use this `checker` in a `Depends(checker)`, instead of `Depends(FixedContentQueryChecker)`, because the dependency is the instance, `checker`, not the class itself.
    
    And when solving the dependency, **FastAPI** will call this `checker` like:
    
    ```Python
    checker(q="somequery")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:10:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. .github/workflows/codeql-analysis.yml

            # a pull request then we can checkout the head.
            fetch-depth: 2
    
        # If this run was triggered by a pull request event, then checkout
        # the head of the pull request instead of the merge commit.
        - run: git checkout HEAD^2
          if: ${{ github.event_name == 'pull_request' }}
    
        # Initializes the CodeQL tools for scanning.
        - name: Initialize CodeQL
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Dec 23 10:29:00 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PathTranslatingPostProcessor.java

    import org.codehaus.plexus.interpolation.InterpolationPostProcessor;
    import org.codehaus.plexus.interpolation.util.ValueSourceUtils;
    
    /**
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    class PathTranslatingPostProcessor implements InterpolationPostProcessor {
    
        private final Collection<String> unprefixedPathKeys;
        private final Path projectDir;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/PluginConfigurationExpander.java

    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles expansion of general build plugin configuration into individual executions.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface PluginConfigurationExpander {
    
        /**
         * Merges values from general build plugin configuration into the individual plugin executions of the given model.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. tests/test_ambiguous_params.py

        with pytest.raises(
            AssertionError,
            match=(
                "`Query` default value cannot be set in `Annotated` for 'item_id'. Set the"
                " default value with `=` instead."
            ),
        ):
    
            @app.get("/")
            async def get(item_id: Annotated[int, Query(default=1)]):
                pass  # pragma: nocover
    
    
    def test_multiple_annotations():
        async def dep():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 12 00:22:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DependencyManagementInjector.java

    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles injection of dependency management into the model.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface DependencyManagementInjector {
    
        /**
         * Merges default values from the dependency management section of the given model into itself.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/PluginManagementInjector.java

    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles injection of plugin management into the model.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface PluginManagementInjector {
    
        /**
         * Merges default values from the plugin management section of the given model into itself.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGeneratorFactory.java

    import org.eclipse.aether.impl.MetadataGeneratorFactory;
    import org.eclipse.aether.installation.InstallRequest;
    
    /**
     * Maven G level metadata generator factory.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Named(PluginsMetadataGeneratorFactory.NAME)
    @Singleton
    @Deprecated(since = "4.0.0")
    public class PluginsMetadataGeneratorFactory implements MetadataGeneratorFactory {
        public static final String NAME = "plugins";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/SnapshotMetadataGeneratorFactory.java

    import org.eclipse.aether.impl.MetadataGeneratorFactory;
    import org.eclipse.aether.installation.InstallRequest;
    
    /**
     * Maven GAV level metadata generator factory.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Named(SnapshotMetadataGeneratorFactory.NAME)
    @Singleton
    @Deprecated(since = "4.0.0")
    public class SnapshotMetadataGeneratorFactory implements MetadataGeneratorFactory {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGeneratorFactory.java

    import org.eclipse.aether.impl.MetadataGeneratorFactory;
    import org.eclipse.aether.installation.InstallRequest;
    
    /**
     * Maven GA level metadata generator factory.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Named(VersionsMetadataGeneratorFactory.NAME)
    @Singleton
    @Deprecated(since = "4.0.0")
    public class VersionsMetadataGeneratorFactory implements MetadataGeneratorFactory {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top