Skip to content

Commit

Permalink
Remove typing import to support 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Coy committed Feb 4, 2020
1 parent 6fc5fd3 commit e920153
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion godaddypy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .client import Client
from .account import Account

__version__ = '2.3.1'
__version__ = '2.3.2'
__all__ = ['Client', 'Account', '__version__']
3 changes: 1 addition & 2 deletions godaddypy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import logging
import sys
from enum import Enum
from typing import List

import requests

Expand Down Expand Up @@ -142,7 +141,7 @@ def get_domain_info(self, domain):
url = self.API_TEMPLATE + self.DOMAIN_INFO.format(domain=domain)
return self._get_json_from_response(url)

def get_domains(self, **params) -> List[str]:
def get_domains(self, **params):
"""Returns a list of domains for the authenticated user.
:param params: Dict of query params to send with the domains request
"""
Expand Down

0 comments on commit e920153

Please sign in to comment.