Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 298 for hack (0.21 sec)

  1. tests/test_response_by_alias.py

                        "response_model_by_alias=False is basically a quick hack, to support "
                        "proper OpenAPI use another model with the correct field names"
                    )
                }
            )
        else:
    
            class Config:
                schema_extra = {
                    "description": (
                        "response_model_by_alias=False is basically a quick hack, to support "
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                request.setActiveProfileIds(profileManager.getExplicitlyActivatedIds());
                request.setInactiveProfileIds(profileManager.getExplicitlyDeactivatedIds());
            } else {
                /*
                 * MNG-4900: Hack to workaround deficiency of legacy API which makes it impossible for plugins to access the
                 * global profile manager which is required to build a POM like a CLI invocation does. Failure to consider
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

                        }
                    }
                    result.addException(e);
                    throw new ArtifactDescriptorException(result);
                }
    
                Model model;
    
                // TODO hack: don't rebuild model if it was already loaded during reactor resolution
                final WorkspaceReader workspace = session.getWorkspaceReader();
                if (workspace instanceof MavenWorkspaceReader) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  4. fastapi/encoders.py

        ] = None,
        sqlalchemy_safe: Annotated[
            bool,
            Doc(
                """
                Exclude from the output any fields that start with the name `_sa`.
    
                This is mainly a hack for compatibility with SQLAlchemy objects, they
                store internal SQLAlchemy-specific state in attributes named with `_sa`,
                and those objects can't (and shouldn't be) serialized to JSON.
                """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * @throws NullPointerException if any of {@code elements} is null
       */
      public static <E> ImmutableSortedSet<E> copyOf(Iterable<? extends E> elements) {
        // Hack around E not being a subtype of Comparable.
        // Unsafe, see ImmutableSortedSetFauxverideShim.
        @SuppressWarnings("unchecked")
        Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable<?>>natural();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  6. schema/schema.go

    	}
    	for _, cbName := range callbackTypes {
    		if methodValue := callBackToMethodValue(modelValue, cbName); methodValue.IsValid() {
    			switch methodValue.Type().String() {
    			case "func(*gorm.DB) error": // TODO hack
    				reflect.Indirect(reflect.ValueOf(schema)).FieldByName(string(cbName)).SetBool(true)
    			default:
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                    if (resetArtifact.getVersion() == null && resetArtifact.getVersionRange() != null) {
    
                                        // go find the version. This is a total hack. See previous comment.
                                        List<ArtifactVersion> versions = resetArtifact.getAvailableVersions();
                                        if (versions == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * @throws NullPointerException if any of {@code elements} is null
       */
      public static <E> ImmutableSortedSet<E> copyOf(Iterable<? extends E> elements) {
        // Hack around E not being a subtype of Comparable.
        // Unsafe, see ImmutableSortedSetFauxverideShim.
        @SuppressWarnings("unchecked")
        Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable<?>>natural();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 36.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            if ( s.indexOf('.') < 0 && s.toUpperCase(Locale.ROOT).equals(s) ) {
                String fqdn = s + "." + dom;
                if ( log.isDebugEnabled() ) {
                    log.debug(String.format("Applying DFS netbios name hack %s -> %s ", s, fqdn));
                }
                this.server = fqdn;
            }
        }
    
    
        @Override
        public void fixupHost ( String fqdn ) {
            String s = getServer();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * @throws NullPointerException if any of {@code elements} is null
       */
      public static <E> ImmutableSortedMultiset<E> copyOf(Iterable<? extends E> elements) {
        // Hack around E not being a subtype of Comparable.
        // Unsafe, see ImmutableSortedMultisetFauxverideShim.
        @SuppressWarnings("unchecked")
        Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable<?>>natural();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top