Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
onekiloparsec committed Jul 26, 2020
2 parents 0ea2c80 + 8adac15 commit 6add143
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arcsecond/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
"ArcsecondConnectionError",
"ArcsecondInvalidEndpointError"]

__version__ = '0.9.7'
__version__ = '0.9.8'
9 changes: 9 additions & 0 deletions arcsecond/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ def is_logged_in(cls, state=None, **kwargs):
def username(cls, state=None, **kwargs):
return ArcsecondAPI.username(state, **kwargs)

@classmethod
def api_key(cls, state=None, **kwargs):
return ArcsecondAPI.api_key(state, **kwargs)

@classmethod
def memberships(cls, state=None, **kwargs):
return ArcsecondAPI.memberships(state, **kwargs)
Expand Down Expand Up @@ -257,6 +261,11 @@ def username(cls, state=None, **kwargs):
state = get_api_state(state, **kwargs)
return config_file_read_username(section=state.config_section()) or ''

@classmethod
def api_key(cls, state=None, **kwargs):
state = get_api_state(state, **kwargs)
return config_file_read_api_key(section=state.config_section()) or ''

@classmethod
def memberships(cls, state=None, **kwargs):
state = get_api_state(state, **kwargs)
Expand Down

0 comments on commit 6add143

Please sign in to comment.