Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions cirro/api/auth/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
from cirro.api.auth.base import AuthInfo
from cirro.api.auth.iam import IAMAuth
from cirro.api.auth.oauth_client import ClientAuth
from cirro.api.auth.username import UsernameAndPasswordAuth

__all__ = [
'AuthInfo',
'IAMAuth',
'UsernameAndPasswordAuth',
'ClientAuth',
'get_auth_info_from_config'
]
Expand All @@ -23,7 +21,6 @@ def get_auth_info_from_config(app_config: AppConfig):

auth_methods = [
ClientAuth,
UsernameAndPasswordAuth,
IAMAuth
]
matched_auth_method = next((m for m in auth_methods if m.__name__ == user_config.auth_method), None)
Expand All @@ -43,9 +40,3 @@ def get_auth_info_from_config(app_config: AppConfig):

if matched_auth_method == IAMAuth:
return IAMAuth(region=app_config.region, **auth_config)

if matched_auth_method == UsernameAndPasswordAuth:
return UsernameAndPasswordAuth(region=app_config.region,
client_id=app_config.client_id,
user_pool_id=app_config.user_pool_id,
**auth_config)
51 changes: 0 additions & 51 deletions cirro/api/auth/username.py

This file was deleted.

1 change: 1 addition & 0 deletions cirro/api/services/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def list(self, process_type: Executor = None) -> List[Process]:
}
}
}
nextToken
}
}
'''
Expand Down
1 change: 1 addition & 0 deletions cirro/api/services/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def list(self) -> List[Project]:
desc
status
}
nextToken
}
}
'''
Expand Down
Loading