Given a mapping of resource_data attributes to use as "kwargs", return a new mapping with the known properties removed.
(resource_data)
| 2179 | |
| 2180 | |
| 2181 | def remove_properties_and_basics(resource_data): |
| 2182 | """ |
| 2183 | Given a mapping of resource_data attributes to use as "kwargs", return a new |
| 2184 | mapping with the known properties removed. |
| 2185 | """ |
| 2186 | return {k: v for k, v in resource_data.items() if k not in KNOW_PROPS} |
| 2187 | |
| 2188 | |
| 2189 | def get_ancestor_paths(path, include_self=False): |