Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 50 for coerced (0.05 seconds)

  1. tests/test_serialize_response_model.py

        owner_ids: list[int] | None = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return Item(aliased_name="valid", price=1.0)
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return Item(aliased_name="coerce", price="1.0")
    
    
    @app.get("/items/validlist", response_model=list[Item])
    def get_validlist():
        return [
            Item(aliased_name="foo"),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. tests/test_serialize_response.py

        owner_ids: list[int] | None = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "price": 1.0}
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return {"name": "coerce", "price": "1.0"}
    
    
    @app.get("/items/validlist", response_model=list[Item])
    def get_validlist():
        return [
            {"name": "foo"},
            {"name": "bar", "price": 1.0},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  3. tests/test_serialize_response_dataclass.py

    @app.get("/items/object", response_model=Item)
    def get_object():
        return Item(
            name="object", date=datetime(2021, 7, 26), price=1.0, owner_ids=[1, 2, 3]
        )
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return {"name": "coerce", "date": datetime(2021, 7, 26).isoformat(), "price": "1.0"}
    
    
    @app.get("/items/validlist", response_model=list[Item])
    def get_validlist():
        return [
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/EmptyDirTask.java

        /**
         * @param dir The directory to create
         */
        public void setDir(File dir) {
            this.dir = dir;
        }
    
        /**
         * @param dir The path of the directory to create. Takes a String and coerces it to a file.
         */
        public void setDir(String dir) {
            this.dir = getProject().file(dir);
        }
    
        @Input
        public int getDirMode() {
            return dirMode;
        }
    
        /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

     * java.util.concurrent.Executor) Futures.catching} family of methods. Those versions have slightly
     * different signatures.
     */
    @GwtCompatible
    @J2ktIncompatible // Super-sourced
    abstract class GwtFuturesCatchingSpecialization {
      /*
       * This server copy of the class is empty. The corresponding GWT copy contains alternative
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/security/index.md

    # Advanced Security { #advanced-security }
    
    ## Additional Features { #additional-features }
    
    There are some extra features to handle security apart from the ones covered in the [Tutorial - User Guide: Security](../../tutorial/security/index.md).
    
    /// tip
    
    The next sections are **not necessarily "advanced"**.
    
    And it's possible that for your use case, the solution is in one of them.
    
    ///
    
    ## Read the Tutorial first { #read-the-tutorial-first }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 648 bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         * Share flag indicating that exclusive opens are restricted on this share.
         */
        public static final int SMB2_SHAREFLAG_RESTRICT_EXCLUSIVE_OPENS = 0x100;
        /**
         * Share flag indicating that shared delete is forced for this share.
         */
        public static final int SMB2_SHAREFLAG_FORCE_SHARED_DELETE = 0x200;
        /**
         * Share flag indicating that namespace caching is allowed on this share.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. LICENSE.txt

    Source code in this repository is covered by (i) a dual license under the Server
    Side Public License, v 1 and the Elastic License 2.0 or (ii) an Apache License
    2.0 compatible license or (iii) solely under the Elastic License 2.0, in each
    case, as noted in the applicable header. The default throughout the repository
    is a dual license under the Server Side Public License, v 1 and the Elastic
    License 2.0, unless the header specifies another license. Code that is licensed
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 03 00:10:53 GMT 2021
    - 546 bytes
    - Click Count (0)
  9. internal/ioutil/hardlimitreader.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package ioutil implements some I/O utility functions which are not covered
    // by the standard library.
    package ioutil
    
    import (
    	"errors"
    	"io"
    )
    
    // ErrOverread is returned to the reader when the hard limit of HardLimitReader is exceeded.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

     * versions of the {@link FluentFuture#catching(Class, com.google.common.base.Function)
     * FluentFuture.catching} family of methods. Those versions have slightly different signatures.
     */
    @GwtCompatible
    @J2ktIncompatible // Super-sourced
    abstract class GwtFluentFutureCatchingSpecialization<V extends @Nullable Object>
        extends AbstractFuture<V> {
      /*
       * This server copy of the class is empty. The corresponding GWT copy contains alternative
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top