Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 3,211 for Gist (0.03 sec)

  1. docs/ru/docs/tutorial/body-nested-models.md

    Однако в Python есть способ объявления списков с указанием типов для вложенных элементов:
    
    ### Импортируйте `List` из модуля typing
    
    В Python 3.9 и выше вы можете использовать стандартный тип `list` для объявления аннотаций типов, как мы увидим ниже. 💡
    
    Но в версиях Python до 3.9 (начиная с 3.6) сначала вам необходимо импортировать `List` из стандартного модуля `typing` в Python:
    
    ```Python hl_lines="1"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

        }
    
        @Override
        protected List<String> getIdList(final Map<String, Object> body) {
            String response = checkGetMethod(body, getListEndpointSuffix()).asString();
            List<Object> objList = JsonPath.from(response).getList(getJsonPath() + "." + getIdKey());
            List<String> ret = new ArrayList<>();
            for (Object obj : objList) {
                ret.add(obj.toString());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

        }
    
        public List<ArtifactVersion> retrieveAvailableVersions(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
                throws ArtifactMetadataRetrievalException {
            throw new UnsupportedOperationException("Cannot get available versions in this test case");
        }
    
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            if (mavenSession == null) {
                throw new IllegalArgumentException("Found null mavenSession on session " + this);
            }
            return mavenSession;
        }
    
        @Override
        public List<Project> getProjects(List<MavenProject> projects) {
            return projects == null ? null : map(projects, this::getProject);
        }
    
        @Override
        public Project getProject(MavenProject project) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

      /*
       * Previously we had a field named list that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
       * value of list or collection but not both.
       */
      protected final List<E> getList() {
        return (List<E>) collection;
      }
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.nio.file.Path;
    import java.util.List;
    import java.util.Optional;
    
    import org.apache.maven.api.RemoteRepository;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java

         *
         * @return The servers to decrypt, never {@code null}.
         */
        List<Server> getServers();
    
        /**
         * Sets the servers whose passwords should be decrypted.
         *
         * @param servers The servers to decrypt, may be {@code null}.
         * @return This request, never {@code null}.
         */
        SettingsDecryptionRequest setServers(List<Server> servers);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. fastapi/openapi/utils.py

    
    def get_fields_from_routes(
        routes: Sequence[BaseRoute],
    ) -> List[ModelField]:
        body_fields_from_routes: List[ModelField] = []
        responses_from_routes: List[ModelField] = []
        request_fields_from_routes: List[ModelField] = []
        callback_flat_models: List[ModelField] = []
        for route in routes:
            if getattr(route, "include_in_schema", None) and isinstance(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

            if (isNewOrRemoved(member)) {
                return null
            }
    
            List<String> warnings = []
            List<String> errors = []
    
            def inspectParametersNullabilityOf = { CtBehavior oldBehavior, CtBehavior newBehavior ->
    
                List<Boolean> oldParametersNullability = parametersNullabilityOf(oldBehavior)
                List<Boolean> newParametersNullability = parametersNullabilityOf(newBehavior)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                return convertObj(((List<?>) value).get(0), clazz);
            }
            if (value instanceof String[]) {
                if (clazz.isAssignableFrom(String[].class)) {
                    return (T) value;
                }
                if (clazz.isAssignableFrom(List.class)) {
                    final List<String> list = new ArrayList<>();
                    Collections.addAll(list, (String[]) value);
                    return (T) list;
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top