Commit d937afde authored by Marc-Andre Santune's avatar Marc-Andre Santune
Browse files

add upload metadata for rtoof

parent 749a9187
......@@ -86,6 +86,15 @@ class BuildingGeneric:
json=body,
)
def upload_metadata_for_roof(self, name: str, payload: dict):
"""Upload the facade metadata to Hbase"""
body = {"metadata": payload}
self._req_with_retries(
"post",
join(self.settings.base_url, self._uid, "roof", "metadata", name),
json=body,
)
# ----------------- Facade level ---------------------
def get_number_of_visible_facades(self):
"""Determine the number of visible facades in building"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment