Coverage for src/prisma/metadata.py: 100%
3 statements
« prev ^ index » next coverage.py v7.2.7, created at 2024-08-27 18:25 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2024-08-27 18:25 +0000
1from __future__ import annotations
2# -*- coding: utf-8 -*-
3# code generated by Prisma. DO NOT EDIT.
4# fmt: off
5# -- template metadata.py.jinja --
8PRISMA_MODELS: set[str] = {
9 'Post',
10 'User',
11 'Category',
12 'Profile',
13 'Types',
14}
16RELATIONAL_FIELD_MAPPINGS: dict[str, dict[str, str]] = {
17 'Post': {
18 'author': 'User',
19 'categories': 'Category',
20 },
21 'User': {
22 'posts': 'Post',
23 'profile': 'Profile',
24 },
25 'Category': {
26 'posts': 'Post',
27 },
28 'Profile': {
29 'user': 'User',
30 },
31 'Types': {
32 },
33}
35# fmt: on