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

Create Profile Encoder to JSONify BaseColumnProfiler #769

Merged
merged 3 commits into from
Mar 7, 2023

Conversation

kshitijavis
Copy link
Contributor

No description provided.

class ProfileEncoder(json.JSONEncoder):
"""JSONify profiler objects and it subclasses and contents."""

def default(self, o):
Copy link
Contributor

Choose a reason for hiding this comment

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

I would change o to be obj this is a little more readable IMO

Copy link
Contributor

@ksneab7 ksneab7 left a comment

Choose a reason for hiding this comment

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

Address comments

import os
import unittest
from collections import defaultdict

pass
Copy link
Contributor

Choose a reason for hiding this comment

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

for what are these pass?

@taylorfturner taylorfturner enabled auto-merge (squash) March 7, 2023 17:02
auto-merge was automatically disabled March 7, 2023 17:21

Head branch was pushed to by a user without write access

@taylorfturner taylorfturner enabled auto-merge (squash) March 7, 2023 17:23
@taylorfturner taylorfturner merged commit a9f6ee8 into capitalone:main Mar 7, 2023
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.

None yet

3 participants