Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2581 - 2590 of 7,602 for _class (0.1 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/LsarSidArrayX.java

    import jcifs.smb.SID;
    
    
    class LsarSidArrayX extends lsarpc.LsarSidArray {
    
        LsarSidArrayX ( jcifs.SID[] sids ) {
            this.num_sids = sids.length;
            this.sids = new lsarpc.LsarSidPtr[sids.length];
            for ( int si = 0; si < sids.length; si++ ) {
                this.sids[ si ] = new lsarpc.LsarSidPtr();
                this.sids[ si ].sid = sids[ si ].unwrap(sid_t.class);
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathTransformation.java

     */
    package org.apache.maven.repository.metadata;
    
    import org.apache.maven.artifact.ArtifactScopeEnum;
    
    /**
     * Helper class to convert a metadata Graph into some form of a classpath
     *
     *
     */
    @Deprecated
    public interface ClasspathTransformation {
        String ROLE = ClasspathTransformation.class.getName();
    
        /**
         * Transform Graph into a Collection of metadata objects that
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. fastapi/responses.py

    try:
        import ujson
    except ImportError:  # pragma: nocover
        ujson = None  # type: ignore
    
    
    try:
        import orjson
    except ImportError:  # pragma: nocover
        orjson = None  # type: ignore
    
    
    class UJSONResponse(JSONResponse):
        """
        JSON response using the high-performance ujson library to serialize data to JSON.
    
        Read more about it in the
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. docs_src/body_multiple_params/tutorial005.py

    from typing import Union
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item = Body(embed=True)):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 407 bytes
    - Viewed (0)
  5. docs_src/custom_response/tutorial009c.py

    from typing import Any
    
    import orjson
    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    class CustomORJSONResponse(Response):
        media_type = "application/json"
    
        def render(self, content: Any) -> bytes:
            assert orjson is not None, "orjson must be installed"
            return orjson.dumps(content, option=orjson.OPT_INDENT_2)
    
    
    @app.get("/", response_class=CustomORJSONResponse)
    async def main():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 01 09:32:30 UTC 2022
    - 451 bytes
    - Viewed (0)
  6. docs_src/dependencies/tutorial011_an.py

    from fastapi import Depends, FastAPI
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    class FixedContentQueryChecker:
        def __init__(self, fixed_content: str):
            self.fixed_content = fixed_content
    
        def __call__(self, q: str = ""):
            if q:
                return self.fixed_content in q
            return False
    
    
    checker = FixedContentQueryChecker("bar")
    
    
    @app.get("/query-checker/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 554 bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    Any function that is valid to use with:
    
    * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager" class="external-link" target="_blank">`@contextlib.contextmanager`</a> or
    * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager" class="external-link" target="_blank">`@contextlib.asynccontextmanager`</a>
    
    would be valid to use as a **FastAPI** dependency.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_2x.md

        authenticator has access to the full incoming response and can respond with
        whichever followup request is appropriate. The `Challenge` class is now a
        top-level class and `Credential` is replaced with a utility class called
        `Credentials`.
    
     *  **OkHttpClient.getFollowProtocolRedirects() renamed to
        getFollowSslRedirects()**. We reserve the word _protocol_ for the HTTP
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt

     * limitations under the License.
     */
    package okhttp3.mockwebserver
    
    import mockwebserver3.QueueDispatcher
    
    class QueueDispatcher : Dispatcher() {
      internal val delegate = QueueDispatcher()
    
      @Throws(InterruptedException::class)
      override fun dispatch(request: RecordedRequest): MockResponse {
        throw UnsupportedOperationException("unexpected call")
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Oct 18 12:55:43 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  10. okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt

     *     .build()
     * ```
     */
    @Deprecated(message = "Use okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR instead")
    class JavaNetAuthenticator : Authenticator {
      @Throws(IOException::class)
      override fun authenticate(
        route: Route?,
        response: Response,
      ): Request? = JAVA_NET_AUTHENTICATOR.authenticate(route, response)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top