centraldogma-python icon indicating copy to clipboard operation
centraldogma-python copied to clipboard

Use dedicated `Revision` type instead of primitive int

Open ikhoon opened this issue 4 years ago • 0 comments

Currently, a revision is represented as an int. https://github.com/line/centraldogma-python/blob/6098f1afe6b181388ab32bd7f91161dd7bd2a70d/centraldogma/dogma.py#L140 It would be nice to use a dedicated type introduced in #14 https://github.com/line/centraldogma-python/blob/6098f1afe6b181388ab32bd7f91161dd7bd2a70d/centraldogma/data/revision.py#L20-L34

ikhoon avatar Oct 29 '21 03:10 ikhoon