Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 203 for classes (0.07 sec)

  1. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    Então esse objeto é um "chamável".
    
    ## Classes como dependências
    
    Você deve ter percebido que para criar um instância de uma classe em Python, a mesma sintaxe é utilizada.
    
    Por exemplo:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    Nesse caso,  `fluffy` é uma instância da classe `Cat`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    then it is a "callable".
    
    ## Classes as dependencies
    
    You might notice that to create an instance of a Python class, you use that same syntax.
    
    For example:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In this case, `fluffy` is an instance of the class `Cat`.
    
    And to create `fluffy`, you are "calling" `Cat`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    в таком случае он является "вызываемым".
    
    ## Классы как зависимости
    
    Вы можете заметить, что для создания экземпляра класса в Python используется тот же синтаксис.
    
    Например:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    В данном случае `fluffy` является экземпляром класса `Cat`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    Und um `fluffy` zu erzeugen, rufen Sie `Cat` auf.
    
    Eine Python-Klasse ist also auch ein **Callable**.
    
    Darum können Sie in **FastAPI** auch eine Python-Klasse als Abhängigkeit verwenden.
    
    Was FastAPI tatsächlich prüft, ist, ob es sich um ein „Callable“ (Funktion, Klasse oder irgendetwas anderes) handelt und ob die Parameter definiert sind.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. build-logic-commons/code-quality-rules/src/main/resources/classycle/classycle_report_resources.zip

    list.document.close(); list.focus(); } //--> Analysis of Date: Summary no class cycles class cycle class cycles class layers classes (using external classes) grouped in packages no package cycles package cycle package cycles no package packages Type Number of classes Averaged (maximum) size in bytes Averaged (maximum) number of usage by other classes Averaged (maximum) number of used internal classes Averaged (maximum) number of used external clasess Interfaces Abstract classes Concrete classes Cycles Name Number...
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 23.4K bytes
    - Viewed (0)
  6. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    ### Properties in entirely new classes
    
    When developing an entirely new class (task, extension, domain object, etc), the API should consist of managed lazy properties.
    
    Preferably, these new classes should be 100% managed and have their implementation generated by Gradle at runtime.
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 20:00:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         */
        private static boolean isApplicable(Method method, Class<?>... classes) {
            Class<?>[] methodArgs = method.getParameterTypes();
    
            if (methodArgs.length != classes.length) {
                return false;
            }
    
            for (int i = 0; i < classes.length; ++i) {
                if (!isMethodInvocationConvertible(methodArgs[i], classes[i])) {
                    return false;
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            jvmThreadsObj.peak = threads.getPeakCount();
            final Classes classes = jvmStats.getClasses();
            final JvmClassesObj jvmClassesObj = new JvmClassesObj();
            jvmObj.classes = jvmClassesObj;
            jvmClassesObj.loaded = classes.getLoadedClassCount();
            jvmClassesObj.total_loaded = classes.getTotalLoadedClassCount();
            jvmClassesObj.unloaded = classes.getUnloadedClassCount();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      @VisibleForTesting
      List<Class<?>> findClassesToTest(
          Iterable<? extends Class<?>> classes, Iterable<String> explicitTestNames) {
        // "a.b.Foo" -> a.b.Foo.class
        TreeMap<String, Class<?>> classMap = Maps.newTreeMap();
        for (Class<?> cls : classes) {
          classMap.put(cls.getName(), cls);
        }
        // Foo.class -> [FooTest.class, FooTests.class, FooTestSuite.class, ...]
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/ClassPath.java

        /**
         * Returns the package name of the class, without attempting to load the class.
         *
         * <p>Behaves similarly to {@code class.getPackage().}{@link Package#getName() getName()} but
         * does not require the class (or package) to be loaded.
         *
         * <p>But note that this method may behave differently for a class in the default package: For
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
Back to top