You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's make something like class BaseFile(BaseModel) instead of UniqueId. File should be just class File(BaseFile).
Another alternative: Fit everything to File class and just stop using UniqueId.
stop using vtype
stop making location as String. It has to be list[dict] (or dict - depending on implementation)
add version to the hash
Remove dir_type
Note 1, let's not use owner signals at this moment.
Note 2, in case catalog class is needed, more general session should be used (which contains catalog inside).
It's a part of iterative/dvcx#1635
The text was updated successfully, but these errors were encountered:
* Use `File` instead of `UniqueId` everywhere, replace `Node.as_uid()` with `Node.to_file()`
* Add `File._from_row()` replacing `Catalog._get_row_uid()`
* Transfer `get_hash()` method from `UniqueId` to `File`
* Remove `UniqueId` class and `File.get_uid()`.
* Remove legacy tar handling code
* Split off `File.ensure_cached()` from `File.get_local_path()`
Fixes#36
class BaseFile(BaseModel)
instead ofUniqueId
.File
should be justclass File(BaseFile)
.File
class and just stop using UniqueId.vtype
version
to the hashdir_type
Note 1, let's not use
owner
signals at this moment.Note 2, in case
catalog
class is needed, more generalsession
should be used (which contains catalog inside).It's a part of iterative/dvcx#1635
The text was updated successfully, but these errors were encountered: