Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,502 for descriptor (0.05 sec)

  1. tests/test_response_class_no_mediatype.py

    
    class JsonApiError(BaseModel):
        errors: list[Error]
    
    
    @app.get(
        "/a",
        response_class=Response,
        responses={500: {"description": "Error", "model": JsonApiError}},
    )
    async def a():
        pass  # pragma: no cover
    
    
    @app.get("/b", responses={500: {"description": "Error", "model": Error}})
    async def b():
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/40_contributor_documentation.yml

        validations:
          required: true
      - type: textarea
        id: description
        attributes:
          label: Problem description
          description: |
            Please describe the problem as concisely as possible.
        validations:
          required: true
      - type: textarea
        id: context
        attributes:
          label: Context (optional)
          description: |
            How has this issue affected you? What are you trying to accomplish?
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Jan 15 10:01:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_tutorial001.py

                            "responses": {
                                "200": {
                                    "description": "Successful Response",
                                    "content": {"application/json": {"schema": {}}},
                                },
                                "422": {
                                    "description": "Validation Error",
                                    "content": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 14K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/src/main/mdo/remote-resources.mdo

          <version>1.1.0</version>
          <description>Root element of the remote-resources.xml file.</description>
          <fields>
            <field>
              <name>remoteResources</name>
              <version>1.1.0</version>
              <description>
                Remote resources that are contained in a remote resources bundle.
              </description>
              <association>
                <type>String</type>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/test/resources/plugin.xml

    under the License.
    -->
    
    <plugin>
      <description>plugin-description</description>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-jar-plugin</artifactId>
      <version>2.3-SNAPSHOT</version>
      <goalPrefix>jar</goalPrefix>
      <isolatedRealm>false</isolatedRealm>
      <inheritedByDefault>true</inheritedByDefault>
      <mojos>
        <mojo>
          <goal>jar</goal>
          <description>mojo-description</description>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body/test_tutorial003.py

        response = client.put(
            "/items/123",
            json={"name": "Foo", "price": 50.1, "description": "Some Foo", "tax": 0.3},
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 123,
            "name": "Foo",
            "price": 50.1,
            "description": "Some Foo",
            "tax": 0.3,
        }
    
    
    def test_put_only_required(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_generate_clients/test_tutorial003.py

                        "summary": "Get Items",
                        "operationId": "items-get_items",
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. tests/test_response_code_no_body.py

        errors: list[Error]
    
    
    @app.get(
        "/a",
        status_code=204,
        response_class=JsonApiResponse,
        responses={500: {"description": "Error", "model": JsonApiError}},
    )
    async def a():
        pass
    
    
    @app.get("/b", responses={204: {"description": "No Content"}})
    async def b():
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_get_response():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_path_operation_configurations/test_tutorial001.py

            "/items/",
            json={
                "name": "Foo",
                "description": "Item description",
                "price": 42.0,
                "tax": 3.2,
                "tags": ["bar", "baz"],
            },
        )
        assert response.status_code == 201, response.text
        assert response.json() == {
            "name": "Foo",
            "description": "Item description",
            "price": 42.0,
            "tax": 3.2,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/50_maintainer_chore.yml

    name: Chore
    description: Minor issue without significant impact
    labels: [ "a:chore", "to-triage" ]
    assignees: [ ]
    body:
      - type: dropdown
        id: issue-type
        attributes:
          label: Issue type
          options:
            - Polishing
            - Deprecation
            - Refactoring
            - Other
        validations:
          required: true
      - type: textarea
        id: description
        attributes:
          label: Problem description
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Sep 12 11:52:53 UTC 2023
    - 856 bytes
    - Viewed (0)
Back to top