Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 585 for asdict (0.1 sec)

  1. fastapi/routing.py

            if read_with_orm_mode:
                # Let from_orm extract the data from this model instead of converting
                # it now to a dict.
                # Otherwise, there's no way to extract lazy data that requires attribute
                # access instead of dict iteration, e.g. lazy relationships.
                return res
            return _model_dump(
                res,
                by_alias=True,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  2. internal/logger/audit.go

    	internalAudit "github.com/minio/minio/internal/logger/message/audit"
    	"github.com/minio/minio/internal/mcontext"
    	"github.com/minio/pkg/v3/logger/message/audit"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    const contextAuditKey = contextKeyType("audit-entry")
    
    // SetAuditEntry sets Audit info in the context.
    func SetAuditEntry(ctx context.Context, audit *audit.Entry) context.Context {
    	if ctx == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle-audit.go

    Harshavardhana <******@****.***> 1723587724 -0700
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_form_models/test_tutorial001_an.py

        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "missing",
                        "loc": ["body", "password"],
                        "msg": "Field required",
                        "input": {"username": "Foo"},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 05 15:16:50 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_header_param_models/test_tutorial001.py

                                    "schema": IsDict(
                                        {
                                            "anyOf": [{"type": "string"}, {"type": "null"}],
                                            "title": "If Modified Since",
                                        }
                                    )
                                    | IsDict(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_form_models/test_tutorial001.py

        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "missing",
                        "loc": ["body", "password"],
                        "msg": "Field required",
                        "input": {"username": "Foo"},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 05 15:16:50 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_cookie_param_models/test_tutorial002.py

        assert response.json() == snapshot(
            IsDict(
                {
                    "detail": [
                        {
                            "type": "missing",
                            "loc": ["cookie", "session_id"],
                            "msg": "Field required",
                            "input": {},
                        }
                    ]
                }
            )
            | IsDict(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_header_param_models/test_tutorial002.py

            {
                "detail": [
                    IsDict(
                        {
                            "type": "missing",
                            "loc": ["header", "save_data"],
                            "msg": "Field required",
                            "input": {"x_tag": [], "host": "testserver"},
                        }
                    )
                    | IsDict(
                        # TODO: remove when deprecating Pydantic v1
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. tests/test_forms_single_model.py

        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "int_parsing",
                        "loc": ["body", "age"],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "seventy",
                    }
                ]
            }
        ) | IsDict(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 13 09:51:00 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_cookie_param_models/test_tutorial001.py

        assert response.json() == snapshot(
            IsDict(
                {
                    "detail": [
                        {
                            "type": "missing",
                            "loc": ["cookie", "session_id"],
                            "msg": "Field required",
                            "input": {},
                        }
                    ]
                }
            )
            | IsDict(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top