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

Python client library for Central Dogma

Results 12 centraldogma-python issues
Sort by recently updated
recently updated
newest added

https://github.com/line/centraldogma-python/pull/41/checks?check_run_id=8556868807

miscellaneous
needs info

Central Dogma provides a watch API with a long connection. It would be inefficient to use a thread for watching files. I think we can use Event loop and Coroutines...

new feature

`Change` is a data class that only provides the default constructor. It would be nice to offer various factories for users' convenience as like upstream Central Dogma did. https://github.com/line/centraldogma/blob/ece893db888fbb5c4f1e28987b9aee10d78e5396/common/src/main/java/com/linecorp/centraldogma/common/Change.java#L65

improvement

#14 introduced `Query` type. The existing APIs that use a string as a query expression need to be updated such as. https://github.com/line/centraldogma-python/blob/6098f1afe6b181388ab32bd7f91161dd7bd2a70d/centraldogma/content_service.py#L44 https://github.com/line/centraldogma-python/blob/6098f1afe6b181388ab32bd7f91161dd7bd2a70d/centraldogma/query.py#L30-L45

cleanup

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

cleanup

README.md could be a gentle guide for users to start centraldogma-python for the first time. Examples: https://github.com/line/centraldogma-go https://github.com/line/centraldogma-rs

documentation

It would be useful if a Central Dogma client has an option to automatically retry a failed request. If a Central Dogma cluster is rolling restarted, a client may receive...

new feature

Motivation - Apply retryer to `BaseClient` - #46 Modifications - Use third-party library, `tenacity`, to retry at client. It helps to reduce boiler plate and feature implementations such as exponential...

improvement

Motivation - Sometimes there is a need to distribute traffics on client side like round-robin or weighted load balancing. - At least, making endpoint of Dogma a list would be...

new feature

As https://github.com/rickstaa/action-black described, official `psf/black` action has been released. Because `rickstaa/action-black` is no longer trivial, it would be better to change. Also we can specify the version. --- References -...

cleanup