Skip to content

Task: refactoring and implement use of self._storage_backend.get() #757

@kairoaraujo

Description

@kairoaraujo

What is the task about?

This is a simple task of replacing in the repository.py replace the usage:

  • self._storage_backend.get(Snapshot.type) by _storage_load_snapshot()
  • self._storage_backend.get(Targets.type) by _storage_load_targets()

This change will require also update the unit tests

Bonus: Implement _storage_load_root to replace usage of _storage_backend.get(Root.type)

Parent feature

No response

References

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions