Skip to content

Commit

Permalink
Fix types signature
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Mar 15, 2022
1 parent 7be87b0 commit 2c79374
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckanext/datapusher/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def after_resource_create(

self._submit_to_datapusher(resource_dict)

def after_update(self, context, resource_dict):
def after_update(
self, context: Context, resource_dict: dict[str, Any]):

self._submit_to_datapusher(resource_dict)

Expand Down

0 comments on commit 2c79374

Please sign in to comment.