Passed
Push — main ( 379767...245673 )
by Rami
01:35
created

tests.user_repository   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 7
dl 0
loc 10
rs 10
c 0
b 0
f 0
1
from mongomantic import BaseRepository
2
3
from .user import User
4
5
6
class UserRepository(BaseRepository):
7
    class Meta:
8
        model = User
9
        collection = "user"
10