Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for repr (0.02 sec)

  1. tests/test_params_repr.py

        assert repr(Path()) == "Path(PydanticUndefined)"
        assert repr(Path(...)) == "Path(PydanticUndefined)"
    
    
    def test_query_repr_str():
        assert repr(Query("teststr")) == "Query(teststr)"
    
    
    def test_query_repr_none():
        assert repr(Query(None)) == "Query(None)"
    
    
    def test_query_repr_ellipsis():
        assert repr(Query(...)) == "Query(PydanticUndefined)"
    
    
    def test_query_repr_number():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            setField(cmd, "fid", 42);
            setField(cmd, "typeOfLock", (byte) 0x07);
            setField(cmd, "newOpLockLevel", (byte) 0x02);
            String repr = cmd.toString();
            assertTrue(repr.contains("fid=42"));
            assertTrue(repr.contains("typeOfLock=7"));
            assertTrue(repr.contains("newOplockLevel=2"));
        }
    
        /**
         * Test decoding of bytes buffer that is too short triggers an exception.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. docs_src/handling_errors/tutorial006_py39.py

    app = FastAPI()
    
    
    @app.exception_handler(StarletteHTTPException)
    async def custom_http_exception_handler(request, exc):
        print(f"OMG! An HTTP error!: {repr(exc)}")
        return await http_exception_handler(request, exc)
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc):
        print(f"OMG! The client sent invalid data!: {exc}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 928 bytes
    - Viewed (0)
  4. internal/s3select/sql/value.go

    	case time.Time:
    		return "TIMESTAMP"
    	case []byte:
    		return "BYTES"
    	case []Value:
    		return "ARRAY"
    	case Missing:
    		return "MISSING"
    	}
    	return "--"
    }
    
    // Repr returns a string representation of value.
    func (v Value) Repr() string {
    	switch x := v.value.(type) {
    	case nil:
    		return ":NULL"
    	case bool, int64, float64:
    		return fmt.Sprintf("%v:%s", v.value, v.GetTypeString())
    	case time.Time:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  5. fastapi/_compat/v2.py

        "examples": None,
        "exclude": None,
        "exclude_if": None,
        "discriminator": None,
        "deprecated": None,
        "json_schema_extra": None,
        "frozen": None,
        "validate_default": None,
        "repr": True,
        "init": None,
        "init_var": None,
        "kw_only": None,
    }
    
    
    # TODO: remove when dropping support for Pydantic < v2.12.3
    def asdict(field_info: FieldInfo) -> dict[str, Any]:
        attributes = {}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. go.sum

    github.com/alecthomas/participle v0.7.1 h1:2bN7reTw//5f0cugJcTOnY/NYZcWQOaajW+BwZB5xWs=
    github.com/alecthomas/participle v0.7.1/go.mod h1:HfdmEuwvr12HXQN44HPWXR0lHmVolVYe4dyL6lQ3duY=
    github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1/go.mod h1:xTS7Pm1pD1mvyM075QCDSRqH6qRLXylzS24ZTpRiSzQ=
    github.com/alexbrainman/sspi v0.0.0-20231016080023-1a75b4708caa h1:LHTHcTQiSGT7VVbI0o4wBRNQIgn917usHWOd6VAffYI=
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 79.8K bytes
    - Viewed (0)
  7. scripts/topic_repos.py

        repos_list = list(repos)
        final_repos: list[Repo] = []
        for repo in repos_list[:100]:
            if repo.full_name == settings.github_repository:
                continue
            final_repos.append(
                Repo(
                    name=repo.name,
                    html_url=repo.html_url,
                    stars=repo.stargazers_count,
                    owner_login=repo.owner.login,
                    owner_html_url=repo.owner.html_url,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. module.xml

    	<property name="target.dir" value="${basedir}/target/modules" />
    
    	<!-- Maven Repository -->
    	<property name="maven.snapshot.repo.url" value="https://central.sonatype.com/repository/maven-snapshots" />
    	<property name="maven.release.repo.url" value="https://maven.codelibs.org" />
    	<property name="opensearch.version" value="3.4.0" />
    
    	<target name="install.modules">
    		<mkdir dir="${target.dir}" />
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 18 09:50:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. plugin.xml

    			<param name="plugin.groupId" value="org/codelibs/opensearch" />
    			<param name="plugin.name.prefix" value="opensearch-" />
    			<param name="plugin.name" value="configsync" />
    			<param name="plugin.version" value="3.4.0" />
    			<param name="plugin.zip.version" value="3.4.0" />
    		</antcall>
    		<!-- minhash -->
    		<antcall target="install.plugin">
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 18 09:50:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. docs/en/docs/external-links.md

    Most starred <a href="https://github.com/topics/fastapi" class="external-link" target="_blank">GitHub repositories with the topic `fastapi`</a>:
    
    {% for repo in topic_repos %}
    
    <a href={{repo.html_url}} target="_blank">★ {{repo.stars}} - {{repo.name}}</a> by <a href={{repo.owner_html_url}} target="_blank">@{{repo.owner_login}}</a>.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 12:28:40 UTC 2025
    - 917 bytes
    - Viewed (0)
Back to top