MCPcopy
hub / github.com/ormar-orm/ormar / Department

Class Department

docs_src/fields/docs001.py:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20
21class Department(ormar.Model):
22 ormar_config = ormar_base_config.copy(tablename="departments")
23
24 id: int = ormar.Integer(primary_key=True)
25 name: str = ormar.String(max_length=100)
26
27
28class Course(ormar.Model):

Callers 1

verifyFunction · 0.70

Calls 1

copyMethod · 0.80

Tested by

no test coverage detected