Skip to content

9.0: import for ansible support#190

Merged
cstenac merged 1 commit intorelease/9.0from
task/dss90-import-for-ansible-support
Dec 9, 2021
Merged

9.0: import for ansible support#190
cstenac merged 1 commit intorelease/9.0from
task/dss90-import-for-ansible-support

Conversation

@duckie
Copy link
Contributor

@duckie duckie commented Nov 24, 2021

[ch76255]

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #76255: Python API: absolute imports break the ansible integration.

@duckie duckie changed the base branch from master to release/9.0 November 24, 2021 14:05
@duckie duckie requested review from AFrancani and mhoarau November 24, 2021 14:05
@mhoarau mhoarau requested review from marchelleboid and removed request for mhoarau November 24, 2021 17:30
@mhoarau mhoarau added this to the 9.0.6 milestone Nov 24, 2021
@marchelleboid
Copy link
Contributor

I verified that the python client still works as before, and it does. I'm not sure how to reproduce the original bug, so I haven't tested that.

I did notice another absolute import here: https://github.com/dataiku/dataiku-api-client-python/blob/release/9.0/dataikuapi/dss/admin.py#L215 , does it also need to be changed to a relative import?

@duckie
Copy link
Contributor Author

duckie commented Nov 26, 2021

The import you found should be change but has no impact on the ansible use case, it should be done in a PR to change all imports. Its a wider topic. Providing reproduction code in the shortcut card.

Copy link
Contributor

@AFrancani AFrancani left a comment

Choose a reason for hiding this comment

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

Code LGTM
Successfully tested

@cstenac cstenac merged commit ce02b13 into release/9.0 Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants