Skip to content

Commit

Permalink
more instances
Browse files Browse the repository at this point in the history
  • Loading branch information
mvilanova committed Nov 29, 2023
1 parent 309540f commit 4be034c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/dispatch/case/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,11 @@ class SignalRead(DispatchBase):


class SignalInstanceRead(DispatchBase):
signal: SignalRead
created_at: datetime
entities: Optional[List[EntityRead]] = []
tags: Optional[List[TagRead]] = []
raw: Any
fingerprint: Optional[str]
created_at: datetime
signal: SignalRead
tags: Optional[List[TagRead]] = []


class ProjectRead(DispatchBase):
Expand Down
1 change: 0 additions & 1 deletion tests/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,6 @@ class SignalInstanceFactory(BaseFactory):
id = LazyFunction(uuid.uuid4)
project = SubFactory(ProjectFactory)
case = SubFactory(CaseFactory)
fingerprint = fake.md5()
signal = SubFactory(SignalFactory)
raw = {
"action": [{"type": "AWS_API_CALL", "value": {"Api": "assumerole", "ServiceName": "sts"}}],
Expand Down

0 comments on commit 4be034c

Please sign in to comment.