Priorities¶
-
class
Neighbourhood.
Priority
(api, data={})¶ A neighbourhood priority (i.e. an issue raised by the community and a corresponding policing action to address this). Uses the neighbourhood-priorities API call.
Parameters: - api (PoliceAPI) – The instance of
PoliceAPI
to use. - data (dict) – The attributes that will be copied to this instance.
-
neighbourhood
¶ Type: Neighbourhood The Neighbourhood Policing Team that owns this priority.
-
issue
¶ Type: str The issue that was raised.
-
action
¶ Type: str The action that was taken to address the issue.
-
issue_date
¶ Type: datetime.datetime The date that the issue was raised.
-
action_date
¶ Type: datetime.datetime The date that the action was implemented.
- api (PoliceAPI) – The instance of