Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 309 for Amelia (0.22 sec)

  1. tests/test_default_response_class.py

    from fastapi.testclient import TestClient
    
    
    class ORJSONResponse(JSONResponse):
        media_type = "application/x-orjson"
    
        def render(self, content: Any) -> bytes:
            return orjson.dumps(content)
    
    
    class OverrideResponse(JSONResponse):
        media_type = "application/x-override"
    
    
    app = FastAPI(default_response_class=ORJSONResponse)
    router_a = APIRouter()
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Mar 01 20:49:20 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  2. src/main/webapp/css/admin/plugins/timepicker/bootstrap-timepicker.min.css

    p-timepicker-widget table td a i{margin-top:2px;font-size:18px}.bootstrap-timepicker-widget table td input{width:25px;margin:0;text-align:center}.bootstrap-timepicker-widget .modal-content{padding:4px}@media(min-width:767px){.bootstrap-timepicker-widget.modal{width:200px;margin-left:-100px}}@media(max-width:767px){.bootstrap-timepicker{width:100%}.bootstrap-timepicker .dropdown-menu{width:100%}}...
    CSS
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 04:21:06 GMT 2020
    - 3K bytes
    - Viewed (0)
  3. src/main/webapp/css/admin/bootstrap.min.css.map

    scroll;\n}\n\n.container {\n  width: 100%;\n  padding-right: 15px;\n  padding-left: 15px;\n  margin-right: auto;\n  margin-left: auto;\n}\n\n@media (min-width: 576px) {\n  .container {\n    max-width: 540px;\n  }\n}\n\n@media (min-width: 768px) {\n  .container {\n    max-width: 720px;\n  }\n}\n\n@media (min-width: 992px) {\n  .container {\n    max-width: 960px;\n  }\n}\n\n@media (min-width: 1200px) {\n  .container {\n    max-width: 1140px;\n  }\n}\n\n.container-fluid, .container-sm, .container-md, .container-lg,...
    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 626.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy

    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import javassist.CtClass
    import me.champeau.gradle.japicmp.report.Violation
    
    /**
     * Workaround for <a href="https://github.com/melix/japicmp-gradle-plugin/issues/56">japicmp issue w.r.t. superclass breakage</a>.
     *
     * <p>
     * Reports simple superclass changes (e.g. the removal of a superclass) as a breaking change, as it affects what methods can be
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

         * is pointing to. If the input source is a file or a byte stream then
         * this is the byte offset into that stream, but if the input source is
         * a character media then the offset is the character offset.
         * Returns -1 if there is no offset available.
         * @return the current offset
         */
        int getCharacterOffset();
    
        /**
         * Returns the public ID of the XML
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  6. docs_src/custom_response/tutorial008.py

    
    @app.get("/")
    def main():
        def iterfile():  # (1)
            with open(some_file_path, mode="rb") as file_like:  # (2)
                yield from file_like  # (3)
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 360 bytes
    - Viewed (0)
  7. docs_src/additional_responses/tutorial004.py

        response_model=Item,
        responses={**responses, 200: {"content": {"image/png": {}}}},
    )
    async def read_item(item_id: str, img: Union[bool, None] = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 701 bytes
    - Viewed (0)
  8. docs_src/additional_responses/tutorial002.py

                "description": "Return the JSON item or an image.",
            }
        },
    )
    async def read_item(item_id: str, img: Union[bool, None] = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 628 bytes
    - Viewed (0)
  9. src/main/webapp/css/admin/adminlte.min.css

    t;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{width:100%;padding-right:7.5px;padding-left:7.5px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}.container-fluid{width:100%;padding-right:7.5px;padding-left:7.5px;margin-right:auto;margin-left:auto}.row{display:-ms-...
    CSS
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 641.1K bytes
    - Viewed (2)
  10. tests/test_response_class_no_mediatype.py

    from fastapi import FastAPI, Response
    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class JsonApiResponse(JSONResponse):
        media_type = "application/vnd.api+json"
    
    
    class Error(BaseModel):
        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: typing.List[Error]
    
    
    @app.get(
        "/a",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.3K bytes
    - Viewed (0)
Back to top