Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 891 for donut (0.02 sec)

  1. docs_src/response_model/tutorial002_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class UserIn(BaseModel):
        username: str
        password: str
        email: EmailStr
        full_name: str | None = None
    
    
    # Don't do this in production!
    @app.post("/user/")
    async def create_user(user: UserIn) -> UserIn:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 318 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

              return; // Okay to say Foo is <?>
            }
            // Can't map from a raw class to anything other than itself or a wildcard.
            // You can't say "assuming String is Integer".
            // And we don't support "assuming String is T"; user has to say "assuming T is String".
            throw new IllegalArgumentException("No type mapping from " + fromClass + " to " + to);
          }
        }.visit(from);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

        return super.containsAll(c);
      }
    
      @Override
      public boolean isEmpty() {
        assertTrue(Thread.holdsLock(mutex));
        return super.isEmpty();
      }
    
      /*
       * We don't assert that the lock is held during calls to iterator(), stream(), and spliterator:
       * `Synchronized` doesn't guarantee that it will hold the mutex for those calls because callers
       * are responsible for taking the mutex themselves:
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/settings/SettingsUtils.java

    import org.apache.maven.impl.SettingsUtilsV4;
    
    /**
     * Several convenience methods to handle settings
     *
     */
    public final class SettingsUtils {
    
        private SettingsUtils() {
            // don't allow construction.
        }
    
        /**
         * @param dominant
         * @param recessive
         * @param recessiveSourceLevel
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

                if (path.isAbsolute()) {
                    // path is already absolute, we're done
                } else if (path.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with base dir but with drive root
                    result = path.getAbsoluteFile();
                } else {
                    // an ordinary relative path, align with base dir
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

        internal var onlyIfCached: Boolean = false
        internal var noTransform: Boolean = false
        internal var immutable: Boolean = false
    
        /** Don't accept an unvalidated cached response. */
        fun noCache() = commonNoCache()
    
        /** Don't store the server's response in any cache. */
        fun noStore() = commonNoStore()
    
        /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. internal/lock/lock_windows.go

    // path unmodified.
    //
    // See https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath
    func fixLongPath(path string) string {
    	// Do nothing (and don't allocate) if the path is "short".
    	// Empirically (at least on the Windows Server 2013 builder),
    	// the kernel is arbitrarily okay with < 248 bytes. That
    	// matches what the docs above say:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/extra-models.md

    This is useful if you don't know the valid field/attribute names (that would be needed for a Pydantic model) beforehand.
    
    In this case, you can use `typing.Dict` (or just `dict` in Python 3.9 and above):
    
    {* ../../docs_src/extra_models/tutorial005_py39.py hl[6] *}
    
    ## Recap { #recap }
    
    Use multiple Pydantic models and inherit freely for each case.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .longOpt("strict-checksums")
                    .desc("Fail the build if checksums don't match")
                    .build());
            options.addOption(Option.builder(Character.toString(CHECKSUM_WARNING_POLICY))
                    .longOpt("lax-checksums")
                    .desc("Warn if checksums don't match")
                    .build());
            options.addOption(Option.builder(Character.toString(ALTERNATE_USER_SETTINGS))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Aug 06 04:56:48 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            applyRule<DependencyRemovalByNameRule>(libs.awsS3Core, setOf("jackson-dataformat-cbor"))
            applyRule<DependencyRemovalByGroupRule>(libs.jgit, setOf("com.googlecode.javaewah"))
    
            // We don't need the extra annotations provided by j2objc
            applyRule<DependencyRemovalByNameRule>(libs.googleHttpClient, setOf("j2objc-annotations"))
    
            // Read capabilities declared in capabilities.json
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jul 18 11:32:19 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top