Skip to content

Commit

Permalink
Python now considers 'from .module import Class' a syntax error.
Browse files Browse the repository at this point in the history
  • Loading branch information
fishinthecalculator committed Aug 26, 2024
1 parent 978c574 commit a96e850
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyactionnetwork/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
THE SOFTWARE.
"""

from .api import ActionNetworkApi # noqa
from pyactionnetwork.api import ActionNetworkApi # noqa
3 changes: 1 addition & 2 deletions pyactionnetwork/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# -*- coding: utf-8 -*-

import requests

from .models import Donation
from pyactionnetwork.models import Donation


def get_all_donations(api=None, donations=None, url="https://actionnetwork.org/api/v2/donations"):
Expand Down

0 comments on commit a96e850

Please sign in to comment.