-
Notifications
You must be signed in to change notification settings - Fork 0
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
Flatten _validation.toml #2
Comments
Here is how I read in the toml file: Line 95 in 200f234
And this is the code to get the information into a workable python data structure: Line 12 in 200f234
|
I made a new version of metadata for validation ("_validation_schema_v2.toml") and renamed the old one (v1). This is an example of the v2 file structure:
The levels are <file_name> --> <column_name> --> <column_attribute>. So to access the type of the host_id column in the events file you should use Not all the columns have all the possible attributes, so I added the complete list of possible attributes at the very beginning of the file ( |
Reading in the validation.toml leads to a very nested dictionary and list of dictionaries. We need to discuss how to flatten that a bit.
@StefanoRapisarda can you please have a look in the code how I am using the toml and give some suggestions how to flatten the data structure a bit?
The text was updated successfully, but these errors were encountered: