@@ -85,7 +85,7 @@ class Complaint(StructuredNode, JsonSerializable):
85
85
source_org = RelationshipFrom (
86
86
"Source" , "REPORTED" , model = ComplaintSourceRel )
87
87
location = RelationshipTo ("Location" , "OCCURRED_AT" )
88
- civlian_witnesses = RelationshipFrom ("Civilian" , "WITNESSED" )
88
+ civlian_witnesses = RelationshipFrom ("models.civilian. Civilian" , "WITNESSED" )
89
89
police_witnesses = RelationshipFrom ("Officer" , "WITNESSED" )
90
90
attachments = RelationshipTo (
91
91
'backend.database.models.attachment.Attachment' , "REFERENCED_IN" )
@@ -121,9 +121,9 @@ class Allegation(StructuredNode, JsonSerializable):
121
121
122
122
# Relationships
123
123
complainant = RelationshipFrom (
124
- "Civilian" , "COMPLAINED_OF" , Cadinality = ZeroOrOne )
124
+ "models.civilian. Civilian" , "COMPLAINED_OF" , cardinality = ZeroOrOne )
125
125
complaint = RelationshipFrom (
126
- "Complaint" , "ALLEGED" , Cadinality = ZeroOrOne )
126
+ "Complaint" , "ALLEGED" , cardinality = ZeroOrOne )
127
127
accused = RelationshipFrom ("Officer" , "ACCUSED_OF" )
128
128
129
129
def __repr__ (self ):
@@ -142,7 +142,7 @@ class Investigation(StructuredNode, JsonSerializable):
142
142
143
143
# Relationships
144
144
investigator = RelationshipFrom (
145
- "Officer" , "LED_BY" , Cadinality = ZeroOrOne )
145
+ "Officer" , "LED_BY" , cardinality = ZeroOrOne )
146
146
complaint = RelationshipFrom ("Complaint" , "EXAMINED_BY" )
147
147
148
148
def __repr__ (self ):
0 commit comments