Skip to content
Snippets Groups Projects

origin_visit_upsert: Use OriginVisit objects as input

1 unresolved thread

This aligns with other _add endpoints [1]

Impacts:

  • D2826: swh-journal (replayer)

Related to swh-journal!132 (closed)

  • [1] except for origin_visit_add which is next (D2820)

Test Plan

tox


Migrated from D2813 (view on Phabricator)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
379 379 })
380 380 cur.execute(query, (*values, *where_values))
381 381
382 def origin_visit_upsert(self, origin, visit, date, type, status,
383 metadata, snapshot, cur=None):
382 def origin_visit_upsert(self, origin_visit: OriginVisit, cur=None) -> None:
  • Merge request was returned for changes

  • Adapt according to review

  • vlorentz mentioned in merge request swh-journal!248 (closed)

    mentioned in merge request swh-journal!248 (closed)

  • Merge request was accepted

  • vlorentz approved this merge request

    approved this merge request

  • Merge request was merged

  • Please register or sign in to reply
    Loading