(
session: Session,
blob_object: DiffgramBlobObjectType,
params: dict,
log: dict,
client: any,
)
| 200 | |
| 201 | |
| 202 | def generate_text_token_url( |
| 203 | session: Session, |
| 204 | blob_object: DiffgramBlobObjectType, |
| 205 | params: dict, |
| 206 | log: dict, |
| 207 | client: any, |
| 208 | ): |
| 209 | params['path'] = blob_object.tokens_url_signed_blob_path |
| 210 | token_signed_url, log = get_from_connector(connector = client, params = params, log = log) |
| 211 | if regular_log.log_has_error(log): |
| 212 | return blob_object, log |
| 213 | blob_object.tokens_url_signed = token_signed_url |
| 214 | session.add(blob_object) |
| 215 | |
| 216 | |
| 217 | def connection_url_regenerate(session: Session, |
no test coverage detected