Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,234 for have (0.15 sec)

  1. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

                    "tearDownTwo should have been run before tearDownOne", false, tearDownOne.ran);
              }
            };
    
        final SimpleTearDown tearDownTwo = new SimpleTearDown(callback);
        stack.addTearDown(tearDownTwo);
    
        assertEquals(false, tearDownOne.ran);
        assertEquals(false, tearDownTwo.ran);
    
        stack.runTearDown();
    
        assertEquals("tearDownOne should have run", true, tearDownOne.ran);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/separate-openapi-schemas.md

    In fact, in some cases, it will even have **two JSON Schemas** in OpenAPI for the same Pydantic model, for input and output, depending on if they have **default values**.
    
    Let's see how that works and how to change it if you need to do that.
    
    ## Pydantic Models for Input and Output
    
    Let's say you have a Pydantic model with default values, like this one:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  3. internal/bucket/replication/filter.go

    // GNU Affero General Public License for more details.
    //
    // 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 replication
    
    import (
    	"encoding/xml"
    
    	"github.com/minio/minio-go/v7/pkg/tags"
    )
    
    var errInvalidFilter = Errorf("Filter must have exactly one of Prefix, Tag, or And specified")
    
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Wed Sep 28 18:25:46 GMT 2022
    - 3.5K bytes
    - Viewed (2)
  4. cmd/httprange.go

    	if sepIndex == -1 {
    		return nil, fmt.Errorf("'%s' does not have a valid range value", rangeString)
    	}
    
    	offsetBeginString := byteRangeString[:sepIndex]
    	offsetBegin := int64(-1)
    	// Convert offsetBeginString only if its not empty.
    	if len(offsetBeginString) > 0 {
    		if offsetBeginString[0] == '+' {
    			return nil, fmt.Errorf("Byte position ('%s') must not have a sign", offsetBeginString)
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Mon Jul 24 14:56:28 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/simple-oauth2.md

        But `OAuth2PasswordRequestForm` is just a class dependency that you could have written yourself, or you could have declared `Form` parameters directly.
    
        But as it's a common use case, it is provided by **FastAPI** directly, just to make it easier.
    
    ### Use the form data
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

       * we're guaranteed to have properly initialized the subclass.
       */
      final void init() {
        /*
         * requireNonNull is safe because this is called from the constructor after `futures` is set but
         * before releaseResources could be called (because we have not yet set up any of the listeners
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/certificates/v1alpha1/generated.proto

    // ClusterTrustBundles by default.  Users who only have namespace-level access
    // to a cluster can read ClusterTrustBundles by impersonating a serviceaccount
    // that they have access to.
    //
    // It can be optionally associated with a particular assigner, in which case it
    // contains one valid set of trust anchors for that signer. Signers may have
    Plain Text
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/response-status-code.md

    * **`300`** and above are for "Redirection".  Responses with these status codes may or may not have a body, except for `304`, "Not Modified", which must not have one.
    * **`400`** and above are for "Client error" responses. These are the second type you would probably use the most.
        * An example is `404`, for a "Not Found" response.
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/extra-models.md

    # Extra Models
    
    Continuing with the previous example, it will be common to have more than one related model.
    
    This is especially the case for user models, because:
    
    * The **input model** needs to be able to have a password.
    * The **output model** should not have a password.
    * The **database model** would probably need to have a hashed password.
    
    !!! danger
        Never store user's plaintext passwords. Always store a "secure hash" that you can then verify.
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  10. docs/en/docs/alternatives.md

    What inspired **FastAPI**, how it compares to other alternatives and what it learned from them.
    
    ## Intro
    
    **FastAPI** wouldn't exist if not for the previous work of others.
    
    There have been many tools created before that have helped inspire its creation.
    
    I have been avoiding the creation of a new framework for several years. First I tried to solve all the features covered by **FastAPI** using many different frameworks, plug-ins, and tools.
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top