Closed beasteers closed 2 years ago
Hmm I mean like you said, most of them are already doing that. Yeah I guess the obvious name for those two could be the namespace? But there isn't really a way to avoid changing the API. The closest I think we could get without changing parameter order could be this:
def __init__(self, name, namespace=None):
namespace = namespace or name
But really that's backwards. This would make more sense:
def __init__(self, namespace, *, name=None):
name = name or namespace
But I think it could be okay leaving them as required for now
But I think it could be okay leaving them as required for now
I agree. Let's call this one done then? (Thanks!)
I'm gonna hold off on merging this for a minute to see if it still makes sense to do a 0.5.1 release at all, or just push ahead to 0.6.0.
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:
Fixes #114