(accountName: str, containerName: str, filepath: str, document: str)
| 93 | |
| 94 | |
| 95 | def create_meta(accountName: str, containerName: str, filepath: str, document: str): |
| 96 | config = get_config() |
| 97 | |
| 98 | quoted_filepath = quote(filepath, safe="") |
| 99 | url = ( |
| 100 | f'{config["API_URL_BASE"]}/api/datasources/{accountName}' |
| 101 | f"/{containerName}/{quoted_filepath}/meta" |
| 102 | ) |
| 103 | resp = call_create_meta_api(url, payload=document) |
| 104 | return resp.status_code |
| 105 | |
| 106 | |
| 107 | def initial_load_meta(args): |