ValueCommitId¶
- class dsviper.ValueCommitId(initial_value=None)¶
Bases:
objectA class used to represent a value of type commit_id.
Use the static factory method try_parse(…).
Or use Value.create(Type.COMMIT_ID [, initial_value]).
- INVALID = 0000000000000000000000000000000000000000¶
- static cast(value: Value) ValueCommitId¶
Return a commit_id or raise.
- copy() ValueCommitId¶
Return a deep copy.
- encoded() str¶
Return a Python str.
- hash() int¶
Return the hash value.
- is_valid() bool¶
Return True if the CommitId is not INVALID.
- representation() str¶
Return the representation.
- static try_parse(string: str) ValueCommitId | None¶
Return a commit_id or None.
- type_code() str¶
Return the type code.