Skip to content

Metadata validation API - No distribution support and only python3#2

Merged
VikramJayanthi17 merged 24 commits into
masterfrom
metadata-validation-python3
Aug 22, 2020
Merged

Metadata validation API - No distribution support and only python3#2
VikramJayanthi17 merged 24 commits into
masterfrom
metadata-validation-python3

Conversation

@VikramJayanthi17
Copy link
Copy Markdown
Owner

No description provided.

Comment thread packaging/metadata/__init__.py Outdated


class Metadata:
def __init__(self, **kwargs: Dict[str, Any]) -> None:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
def __init__(self, **kwargs: Dict[str, Any]) -> None:
def __init__(self, **kwargs: Dict[str, Union[list, str]]) -> None:

Use a type union here instead (this isn't 100% right)

@VikramJayanthi17 VikramJayanthi17 merged commit dcfc7cd into master Aug 22, 2020
VikramJayanthi17 added a commit that referenced this pull request Aug 22, 2020
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