Skip to content

Extended API with import/export endpoints#42

Merged
ErikBjare merged 1 commit intomasterfrom
dev/extended-api
May 21, 2019
Merged

Extended API with import/export endpoints#42
ErikBjare merged 1 commit intomasterfrom
dev/extended-api

Conversation

@ErikBjare
Copy link
Copy Markdown
Member

No description provided.

@ErikBjare ErikBjare force-pushed the dev/extended-api branch from db8b395 to 6c3fd6e Compare May 6, 2019 11:26
Comment thread aw_client/client.py

def import_bucket(self, bucket: dict) -> None:
endpoint = "import"
self._post(endpoint, {"buckets": {bucket["id"]: bucket}})
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add an test for this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have extensive tests for the other endpoints, and I'm not going to set that up, so no.

Maybe there is in the aw-server repo? We should put them all in one place somehow so we can do proper integration testing for both aw-server-python and aw-server-rust with a single test suite.

@ErikBjare ErikBjare merged commit 07319ed into master May 21, 2019
@ErikBjare ErikBjare deleted the dev/extended-api branch May 21, 2019 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants