Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 479 for instance (0.05 sec)

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

    ## Parameterize the instance
    
    And now, we can use `__init__` to declare the parameters of the instance that we can use to "parameterize" the dependency:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[9] *}
    
    In this case, **FastAPI** won't ever touch or care about `__init__`, we will use it directly in our code.
    
    ## Create an instance
    
    We could create an instance of this class with:
    
    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. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java

            try {
                Class<?> clazz = container.getContainerRealm().loadClass(PROMPTER_CLASS);
                Object instance = container.lookup(clazz);
                Method method = clazz.getMethod("prompt", String.class, List.class, String.class);
                return (String) method.invoke(instance, message, possibleValues, defaultReply);
            } catch (Exception e) {
                throw new PrompterException("Unable to call prompter", e);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Optional.java

      }
    
      Optional() {}
    
      /**
       * Returns {@code true} if this holder contains a (non-null) instance.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> no differences.
       */
      public abstract boolean isPresent();
    
      /**
       * Returns the contained instance, which must be present. If the instance might be absent, use
       * {@link #or(Object)} or {@link #orNull} instead.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            } catch (final Exception e) {
                throw new IllegalArgumentException("Cannot create instance of: " + clazz, e);
            } catch (final LinkageError e) {
                throw new IllegalArgumentException("Cannot create instance of: " + clazz, e);
            }
        }
    
        /**
         * Creates an instance of the given implementation using the given string, assumes a public string constructor.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionAnalyzer.java

     * under the License.
     */
    package org.apache.maven.execution;
    
    import java.util.Optional;
    
    /**
     * Instances of this class are responsible for determining whether it makes sense to "resume" a build (i.e., using
     * the {@code --resume} flag.
     */
    public interface BuildResumptionAnalyzer {
        /**
         * Construct an instance of {@link BuildResumptionData} based on the outcome of the current Maven build.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

        }
    
        /**
         * Serialize the inbound Model instance to a StringWriter, perform the regex replacement to resolve
         * POM expressions, then re-parse into the resolved Model instance.
         * <p>
         * <b>NOTE:</b> This will result in a different instance of Model being returned!!!
         *
         * @param model The inbound Model instance, to serialize and reference for expression resolution
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/popper.min.js

    r=le({},p,l[n])}return e}},offset:{order:200,enabled:!0,fn:J,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||p(e.instance.popper);e.instance.reference===o&&(o=p(o));var n=B('transform'),i=e.instance.popper.style,r=i.top,s=i.left,d=i[n];i.top='',i.left='',i[n]='';var a=v(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=r,i.left=s,i[n]=d,t.boundaries=a;var l=t.priority,f=e.offsets.popper,m={primary:function(e){var o=f[e];return f...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/resources/META-INF/maven/plugin-expressions/project.paramdoc.xml

      <version>0.0.0.0</version>
    </parent>
        ]]></configuration>
        <description> This is the MavenProject instance for the parent of the current POM.
        </description>
      </expression>
      <expression>
        <syntax>project.file</syntax>
        <description> This is the File instance that refers to the location of the current POM on
          disk.
        </description>
      </expression>
      <expression>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

    /**
     * A simple memorizing {@link Supplier} of {@link RepositorySystem} instance, that on first call
     * supplies lazily constructed instance, and on each subsequent call same instance. Hence, this instance should be
     * thrown away immediately once repository system was created and there is no need for more instances. If new
     * repository system instance needed, new instance of this class must be created. For proper shut down of returned
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * A simple {@link Supplier} of {@link SessionBuilder} instances, that on each call supplies newly
     * constructed instance. To create session out of builder, use {@link SessionBuilder#build()}. For proper closing
     * of sessions, use {@link CloseableSession#close()} method on built instance(s).
     * <p>
     * Extend this class and override methods to customize, if needed.
     *
     * @since 4.0.0
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top