Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 476 for pkpass (0.13 sec)

  1. tests/test_additional_responses_custom_validationerror.py

        errors: typing.List[Error]
    
    
    @app.get(
        "/a/{id}",
        response_class=JsonApiResponse,
        responses={422: {"description": "Error", "model": JsonApiError}},
    )
    async def a(id):
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. docs_src/openapi_callbacks/tutorial001.py

    invoices_callback_router = APIRouter()
    
    
    @invoices_callback_router.post(
        "{$callback_url}/invoices/{$request.body.id}", response_model=InvoiceEventReceived
    )
    def invoice_notification(body: InvoiceEvent):
        pass
    
    
    @app.post("/invoices/", callbacks=invoices_callback_router.routes)
    def create_invoice(invoice: Invoice, callback_url: Union[HttpUrl, None] = None):
        """
        Create an invoice.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-fields.md

    ///
    
    ## Recap
    
    You can use Pydantic's `Field` to declare extra validations and metadata for model attributes.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:01:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001.py hl[1,13] *}
    
    **FastAPI** will create the object of type `BackgroundTasks` for you and pass it as that parameter.
    
    ## Create a task function
    
    Create a function to be run as the background task.
    
    It is just a standard function that can receive parameters.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:22:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. .github/pull_request_template.md

     - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
     - [ ] Run `mvn clean verify` to make sure basic checks pass. A more thorough check will
           be performed on your pull request automatically.
     - [ ] You have run the [Core IT][core-its] successfully.
    
    If your pull request is about ~20 lines of code you don't need to sign an
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Dec 20 13:14:27 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java

      }
    
      // TODO(cpovirk): Use standard Javadoc form for SimpleForwarding* class and constructor
      /**
       * A simplified version of {@link ForwardingListenableFuture} where subclasses can pass in an
       * already constructed {@link ListenableFuture} as the delegate.
       *
       * @since 9.0
       */
      public abstract static class SimpleForwardingListenableFuture<V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 04 12:23:41 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  7. .github/workflows/mint/nginx-4-node.conf

                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header X-NginX-Proxy true;
    
                # This is necessary to pass the correct IP to be hashed
                real_ip_header X-Real-IP;
    
                proxy_connect_timeout 300;
                
                # To support websocket
                proxy_http_version 1.1;
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 16:52:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/index.md

    This way you write shared code once and **FastAPI** takes care of calling it for your *path operations*.
    
    /// check
    
    Notice that you don't have to create a special class and pass it somewhere to **FastAPI** to "register" it or anything similar.
    
    You just pass it to `Depends` and **FastAPI** knows how to do the rest.
    
    ///
    
    ## Share `Annotated` dependencies
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:18:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/flaking-test.yaml

    labels: kind/flake
    body:
      - type: textarea
        id: jobs
        attributes:
          label: Which jobs are flaking?
          description: |
            Please only use this template for submitting reports about flaky tests or jobs (pass or fail with no underlying change in code) in Kubernetes CI.
            Links to go.k8s.io/triage and/or links to specific failures in spyglass are appreciated.
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 05 16:55:38 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  10. internal/mountinfo/mountinfo.go

    package mountinfo
    
    // mountInfo - This represents a single line in /proc/mounts.
    type mountInfo struct {
    	Device  string
    	Path    string
    	FSType  string
    	Options []string
    	Freq    string
    	Pass    string
    }
    
    func (m mountInfo) String() string {
    	return m.Path
    }
    
    // mountInfos - This represents the entire /proc/mounts.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.1K bytes
    - Viewed (0)
Back to top