Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for isStrict (1.4 sec)

  1. fastapi/params.py

                        "alias_priority": alias_priority,
                        "validation_alias": validation_alias,
                        "serialization_alias": serialization_alias,
                        "strict": strict,
                        "json_schema_extra": current_json_schema_extra,
                    }
                )
                kwargs["pattern"] = pattern or regex
            else:
                kwargs["regex"] = pattern or regex
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  2. fastapi/param_functions.py

            Doc(
                """
                Parameter field name for discriminating the type in a tagged union.
                """
            ),
        ] = None,
        strict: Annotated[
            Union[bool, None],
            Doc(
                """
                If `True`, strict validation is applied to the field.
                """
            ),
        ] = _Unset,
        multiple_of: Annotated[
            Union[float, None],
            Doc(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  3. tests/test_security_oauth2_optional.py

    def test_security_oauth2_password_bearer_no_header():
        response = client.get("/users/me")
        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Create an account first"}
    
    
    def test_strict_login_no_data():
        response = client.post("/login")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. cmd/metacache-entries.go

    func (e metaCacheEntry) hasPrefix(s string) bool {
    	return strings.HasPrefix(e.name, s)
    }
    
    // matches returns if the entries have the same versions.
    // If strict is false we allow signatures to mismatch.
    func (e *metaCacheEntry) matches(other *metaCacheEntry, strict bool) (prefer *metaCacheEntry, matches bool) {
    	if e == nil && other == nil {
    		return nil, true
    	}
    	if e == nil {
    		return other, false
    	}
    	if other == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  5. pyproject.toml

    module = "docs_src.*"
    disallow_incomplete_defs = false
    disallow_untyped_defs = false
    disallow_untyped_calls = false
    
    [tool.pytest.ini_options]
    addopts = [
      "--strict-config",
      "--strict-markers",
      "--ignore=docs_src",
    ]
    xfail_strict = true
    junit_family = "xunit2"
    filterwarnings = [
        "error",
        # TODO: needed by asyncio in Python 3.9.7 https://bugs.python.org/issue45097, try to remove on 3.9.8
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. tests/test_security_oauth2.py

    def test_security_oauth2_password_bearer_no_header():
        response = client.get("/users/me")
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_strict_login_no_data():
        response = client.post("/login")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  7. tests/test_security_oauth2_optional_description.py

    def test_security_oauth2_password_bearer_no_header():
        response = client.get("/users/me")
        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Create an account first"}
    
    
    def test_strict_login_None():
        response = client.post("/login", data=None)
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  8. apache-maven/src/main/appended-resources/licenses/unrecognized-jline-3.26.1.txt

    OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
    AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
    IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 09:13:56 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            problems.setSource(modelSource.getLocation());
            try {
                boolean strict = request.getValidationLevel() >= ModelBuilderRequest.VALIDATION_LEVEL_MAVEN_2_0;
    
                try (InputStream is = modelSource.openStream()) {
                    model = modelProcessor.read(XmlReaderRequest.builder()
                            .strict(strict)
                            .location(modelSource.getLocation())
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  10. cmd/main.go

    	cli.BoolFlag{
    		Name:   "compat",
    		Usage:  "enable strict S3 compatibility by turning off certain performance optimizations",
    		Hidden: true,
    	},
    	// This flag is hidden and to be used only during certain performance testing.
    	cli.BoolFlag{
    		Name:   "no-compat",
    		Usage:  "disable strict S3 compatibility by turning on certain performance optimizations",
    		Hidden: true,
    	},
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top