Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Width (0.13 sec)

  1. tests/test_computed_fields.py

        from pydantic import BaseModel, computed_field
    
        class Rectangle(BaseModel):
            width: int
            length: int
    
            @computed_field
            @property
            def area(self) -> int:
                return self.width * self.length
    
        @app.get("/")
        def read_root() -> Rectangle:
            return Rectangle(width=3, length=4)
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv2
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Aug 04 20:47:07 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. docs/en/docs/img/deployment/https/https01.drawio

                        <mxGeometry x="60" y="27" width="380" height="250" as="geometry"/>
                    </mxCell>
                    <mxCell id="32" value="" style="pointerEvents=1;shadow=0;dashed=0;html=1;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.laptop;strokeColor=none;" parent="33" vertex="1">
                        <mxGeometry width="500" height="350" as="geometry"/>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 6.2K bytes
    - Viewed (0)
  3. docs/en/docs/css/custom.css

    }
    
    .user-list {
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }
    
    .user-list-center {
      justify-content: space-evenly;
    }
    
    .user {
      margin: 1em;
      min-width: 7em;
    }
    
    .user .avatar-wrapper {
      width: 80px;
      height: 80px;
      margin: 10px auto;
      overflow: hidden;
      border-radius: 50%;
      position: relative;
    }
    
    .user .avatar-wrapper img {
      position: absolute;
      top: 50%;
    CSS
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jan 28 09:53:45 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. scripts/playwright/separate_openapi_schemas/image03.py

    import subprocess
    
    from playwright.sync_api import Playwright, sync_playwright
    
    
    def run(playwright: Playwright) -> None:
        browser = playwright.chromium.launch(headless=False)
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_text("GET/items/Read Items").click()
        page.get_by_role("tab", name="Schema").click()
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Aug 25 19:10:22 GMT 2023
    - 892 bytes
    - Viewed (0)
  5. scripts/playwright/separate_openapi_schemas/image02.py

    import subprocess
    
    from playwright.sync_api import Playwright, sync_playwright
    
    
    def run(playwright: Playwright) -> None:
        browser = playwright.chromium.launch(headless=False)
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_text("GET/items/Read Items").click()
        page.get_by_role("button", name="Try it out").click()
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Aug 25 19:10:22 GMT 2023
    - 873 bytes
    - Viewed (0)
  6. docs/en/docs/img/tutorial/bigger-applications/package.drawio

                        <mxGeometry x="130" y="565" width="370" height="100" as="geometry"/>
                    </mxCell>
                    <mxCell id="5" value="" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;strokeWidth=4;" parent="1" vertex="1">
                        <mxGeometry x="1030" y="430" width="400" height="260" as="geometry"/>
                    </mxCell>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  7. docs/en/docs/img/deployment/https/https08.drawio

                        <mxGeometry x="60" y="27" width="380" height="250" as="geometry"/>
                    </mxCell>
                    <mxCell id="32" value="" style="pointerEvents=1;shadow=0;dashed=0;html=1;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.laptop;strokeColor=none;" parent="33" vertex="1">
                        <mxGeometry width="500" height="350" as="geometry"/>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 20.9K bytes
    - Viewed (0)
  8. docs/en/layouts/custom.yml

    tags:
    
      # Open Graph
      og:type: website
      og:title: *page_title_with_site_name
      og:description: *page_description
      og:image: "{{ image.url }}"
      og:image:type: "{{ image.type }}"
      og:image:width: "{{ image.width }}"
      og:image:height: "{{ image.height }}"
      og:url: "{{ page.canonical_url }}"
    
      # Twitter
      twitter:card: summary_large_image
      twitter.title: *page_title_with_site_name
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jun 26 14:05:43 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  9. docs/en/docs/css/termynal.css

     * @version 0.0.1
     * @license MIT
     */
    
    :root {
        --color-bg: #252a33;
        --color-text: #eee;
        --color-text-subtle: #a2a2a2;
    }
    
    [data-termynal] {
        width: 750px;
        max-width: 100%;
        background: var(--color-bg);
        color: var(--color-text);
        /* font-size: 18px; */
        font-size: 15px;
        /* font-family: 'Fira Mono', Consolas, Menlo, Monaco, 'Courier New', Courier, monospace; */
    CSS
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. docs/en/docs/img/deployment/https/https07.drawio

                        <mxGeometry x="60" y="27" width="380" height="250" as="geometry"/>
                    </mxCell>
                    <mxCell id="32" value="" style="pointerEvents=1;shadow=0;dashed=0;html=1;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.laptop;strokeColor=none;" parent="33" vertex="1">
                        <mxGeometry width="500" height="350" as="geometry"/>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 18.7K bytes
    - Viewed (0)
Back to top