Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
rpiazza committed Dec 3, 2024
1 parent 23b1a72 commit 6602915
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions incident-ef7/src/incident/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
from stix2.v21.base import _STIXBase21

import incident.vocab as vocab
from incident.common import StateChange
from incident.util import validate_event_sequence
from .common import StateChange

# Event Extension Data
EVENT_EXTENSION_DEFINITION_ID = 'extension-definition--4ca6de00-5b0d-45ef-a1dc-ea7279ea910e'
Expand Down Expand Up @@ -39,7 +38,6 @@ class Event:
def _check_object_constraints(self):
super()._check_object_constraints()


start_time = self.get('start_time')
end_time = self.get('end_time')

Expand Down
4 changes: 2 additions & 2 deletions incident-ef7/src/incident/impact.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
TimestampProperty)

import incident.vocab as vocab
from incident.common import EntityCountProperty
from incident.util import check_open_bounds
from .common import EntityCountProperty
from .util import check_open_bounds


@stix2.CustomExtension(
Expand Down
2 changes: 1 addition & 1 deletion incident-ef7/src/incident/incident.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from stix2.v21.base import _STIXBase21

import vocab
from common import EntityCountProperty
from .common import EntityCountProperty


INCIDENT_EXTENSION_DEFINITION_ID = 'extension-definition--ef765651-680c-498d-9894-99799f2fa126'
Expand Down
2 changes: 1 addition & 1 deletion incident-ef7/src/incident/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import util
import vocab
from common import EntityCountProperty, StateChange
from .common import EntityCountProperty, StateChange

# Event Extension Data
TASK_EXTENSION_DEFINITION_ID = 'extension-definition--2074a052-8be4-4932-849e-f5e7798e0030'
Expand Down

0 comments on commit 6602915

Please sign in to comment.