Skip to content

Refactoring backup module#25

Open
mborchuk wants to merge 2 commits into
mainfrom
feature/backup-module-refactoring
Open

Refactoring backup module#25
mborchuk wants to merge 2 commits into
mainfrom
feature/backup-module-refactoring

Conversation

@mborchuk
Copy link
Copy Markdown
Owner

@mborchuk mborchuk commented May 9, 2026

No description provided.

@mborchuk mborchuk self-assigned this May 9, 2026
Comment thread modules/backup/index.py Fixed
Comment thread modules/backup/index.py Fixed
Comment thread modules/backup/index.py Fixed
Comment thread modules/backup/index.py Fixed
Comment thread modules/backup/index.py Fixed
Comment thread modules/backup/index.py Fixed
Comment thread modules/backup/index.py Fixed
Comment thread modules/backup/index.py Fixed
Comment thread modules/backup/index.py
dt = datetime.fromisoformat(s)
return dt.date() if field in date_fields else dt
except (ValueError, TypeError) as exc:
logger.debug('Skipping bad date for %s=%r: %s', field, v, exc)
Comment thread modules/backup/index.py
dt = datetime.fromisoformat(s)
return dt.date() if field in date_fields else dt
except (ValueError, TypeError) as exc:
logger.debug('Skipping bad date for %s=%r: %s', field, v, exc)
Comment thread modules/backup/index.py
except Exception as e:
logger.warning(
'Skipping row in %s due to error: %s | row keys: %s',
tname, e, list(rd.keys())[:5])
Comment thread modules/backup/index.py
'SET seq = (SELECT COALESCE(MAX(id), 0) FROM "'
+ safe_t + '") '
'WHERE name = :t'), {'t': tname})
except Exception:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants