Skip to content

mvp#2

Merged
kennyworkman merged 44 commits intomainfrom
kenny/register
Jan 27, 2022
Merged

mvp#2
kennyworkman merged 44 commits intomainfrom
kenny/register

Conversation

@kennyworkman
Copy link
Copy Markdown
Member

No description provided.

@kennyworkman kennyworkman marked this pull request as ready for review January 27, 2022 04:26
@kennyworkman kennyworkman merged commit 36c8a5d into main Jan 27, 2022


def main():
return "Now I am become death, the destroyer of worlds"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dur dur dur dur

pkg_root.mkdir(parents=True)

init_f = pkg_root.joinpath("__init__.py")
with open(init_f, "w") as f:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we store this file somewhere other than a python string? Maybe have a repo with cli versioned boilerplate which is pulled from?

from latch.services.register import RegisterCtx, RegisterOutput


def register(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to parse failure messages and err. As of now, errors in registration print the success message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants