Closed lukemarsden closed 2 years ago
The API version is different to the CLI version
On Mon, 16 May 2022, 08:57 Guy Paterson-Jones, @.***> wrote:
@.**** commented on this pull request.
In sameproject/cli/init.py https://github.com/SAME-Project/same-project/pull/145#discussion_r873430081 :
def _get_api_version():
- try:
- return pkg_resources.get_distribution("sameproject").version
- except Exception:
- return "unknown" # TODO: better fallback
- return "sameproject.ml/v1alpha1"
We should probably merge the logic here with the same version command.
— Reply to this email directly, view it on GitHub https://github.com/SAME-Project/same-project/pull/145#pullrequestreview-973544043, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACATUQIZYIPLNQU6KPBSVTVKH5XLANCNFSM5V3GKH7Q . You are receiving this because you authored the thread.Message ID: @.***>