Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kasiah/empower connector #1191

Merged
merged 13 commits into from
Nov 21, 2024
Merged

Kasiah/empower connector #1191

merged 13 commits into from
Nov 21, 2024

Conversation

KasiaHinkson
Copy link
Contributor

Branched off @jburchard 's Empower connector PR.

Adds a single method to return the full export unparsed, for pure ELT.

Copy link
Collaborator

@shaunagm shaunagm left a comment

Choose a reason for hiding this comment

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

Lots of comments but nothing major, excited to get this merged soon

docs/empower.rst Show resolved Hide resolved
docs/empower.rst Show resolved Hide resolved
parsons/empower/empower.py Show resolved Hide resolved
parsons/empower/empower.py Outdated Show resolved Hide resolved
parsons/empower/empower.py Outdated Show resolved Hide resolved

return [ctas, cta_prompts, cta_prompt_answers]

def get_ctas(self):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Enough data restructuring is happening in these methods (or the private/utility methods they're calling) that it would be useful for each of the dcostrings for the public methods to describe the format of the data being returned.

parsons/empower/empower.py Outdated Show resolved Hide resolved
parsons/empower/empower.py Show resolved Hide resolved
parsons/empower/empower.py Show resolved Hide resolved
parsons/empower/empower.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@shaunagm shaunagm left a comment

Choose a reason for hiding this comment

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

One small additional change requested (re: the unix timestamp) but otherwise this looks good enough. I do wish there was a bit more documentation of how the methods are constructed and what they're doing to the data but I understand since you didn't write the code yourself that's hard to provide.

@KasiaHinkson KasiaHinkson merged commit 34dd867 into main Nov 21, 2024
62 of 68 checks passed
@KasiaHinkson KasiaHinkson deleted the kasiah/empower-connector branch November 21, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants