Created
May 1, 2021 07:43
-
-
Save shreyasms17/7e95d61242cc2b1e901ddc5d4d776753 to your computer and use it in GitHub Desktop.
AutoFlatten class vairables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AutoFlatten: | |
def __init__(self, json_schema): | |
self.fields_in_json = self.get_fields_in_json(json_schema) | |
self.all_fields = {} | |
self.cols_to_explode = set() | |
self.structure = {} | |
self.order = [] | |
self.bottom_to_top = {} | |
self.rest = set() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment