human_size. Internal helper function. This docstring was added automatically to improve maintainability. Args: n: Parameter. Returns: Varies.
(n: int)
| 3534 | pass |
| 3535 | raise |
| 3536 | |
| 3537 | conn = db_connect() |
| 3538 | conn.execute( |
| 3539 | "UPDATE profiles SET pic_path=?, pic_mime=?, updated_at=? WHERE username=?", |
| 3540 | (dst, mime, now_z(), username), |
| 3541 | ) |
| 3542 | conn.commit() |
| 3543 | conn.close() |
| 3544 | |
| 3545 | |
| 3546 | def remove_profile_pic(username: str): |
| 3547 | """remove_profile_pic. |
| 3548 | |
| 3549 | Route handler or application helper. |
| 3550 | |
| 3551 | This docstring was expanded to make future maintenance easier. |
| 3552 | |
| 3553 | Args: |
| 3554 | username: Parameter. |
| 3555 | |
| 3556 | Returns: |
| 3557 | Varies. |
| 3558 | """ |
no outgoing calls
no test coverage detected