Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Boolean (0.45 sec)

  1. docs_src/sql_databases/sql_app_py39/models.py

    from sqlalchemy import Boolean, Column, ForeignKey, Integer, String
    from sqlalchemy.orm import relationship
    
    from .database import Base
    
    
    class User(Base):
        __tablename__ = "users"
    
        id = Column(Integer, primary_key=True)
        email = Column(String, unique=True, index=True)
        hashed_password = Column(String)
        is_active = Column(Boolean, default=True)
    
        items = relationship("Item", back_populates="owner")
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 09 14:35:33 GMT 2024
    - 710 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_security/test_tutorial005_py39.py

                                    "anyOf": [{"type": "boolean"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
                                {"title": "Disabled", "type": "boolean"}
                            ),
                        },
                    },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_async_sql_databases/test_tutorial001.py

                            "type": "object",
                            "properties": {
                                "text": {"title": "Text", "type": "string"},
                                "completed": {"title": "Completed", "type": "boolean"},
                            },
                        },
                        "Note": {
                            "title": "Note",
                            "required": ["id", "text", "completed"],
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Oct 18 12:36:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_additional_responses/test_tutorial002.py

                                        "anyOf": [{"type": "boolean"}, {"type": "null"}],
                                        "title": "Img",
                                    }
                                )
                                | IsDict(
                                    # TODO: remove when deprecating Pydantic v1
                                    {"title": "Img", "type": "boolean"}
                                ),
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_sql_databases/test_sql_databases.py

                            "email": {"title": "Email", "type": "string"},
                            "id": {"title": "Id", "type": "integer"},
                            "is_active": {"title": "Is Active", "type": "boolean"},
                            "items": {
                                "title": "Items",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/Item"},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.1K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py

                            "email": {"title": "Email", "type": "string"},
                            "id": {"title": "Id", "type": "integer"},
                            "is_active": {"title": "Is Active", "type": "boolean"},
                            "items": {
                                "title": "Items",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/Item"},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial005_an_py39.py

                                    "anyOf": [{"type": "boolean"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
                                {"title": "Disabled", "type": "boolean"}
                            ),
                        },
                    },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_security/test_tutorial005_py310.py

                                    "anyOf": [{"type": "boolean"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
                                {"title": "Disabled", "type": "boolean"}
                            ),
                        },
                    },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_response_model/test_tutorial003_05.py

                            {
                                "required": False,
                                "schema": {
                                    "title": "Teleport",
                                    "type": "boolean",
                                    "default": False,
                                },
                                "name": "teleport",
                                "in": "query",
                            }
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_security/test_tutorial005_an.py

                                    "anyOf": [{"type": "boolean"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
                                {"title": "Disabled", "type": "boolean"}
                            ),
                        },
                    },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top