Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

SUBMARINE-1045. Add static type parameter in submarine-sdk #781

Closed
wants to merge 2 commits into from

Conversation

rayray2002
Copy link
Contributor

What is this PR for?

Add static type parameter in submarine-sdk

What type of PR is it?

[Improvement]

Todos

What is the Jira issue?

https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-1045

How should this be tested?

mypy passed
runtime type check

Screenshots (if appropriate)

Questions:

  • Do the license files need updating? Yes/No
  • Are there breaking changes for older versions? Yes/No
  • Does this need new documentation? Yes/No

@rayray2002
Copy link
Contributor Author

Re-post the PR due to previous PR include other commits

@pingsutw
Copy link
Member

@rayray2002 sorry, could you fix the merge conflict? I will merge it then.

@rayray2002
Copy link
Contributor Author

@rayray2002 sorry, could you fix the merge conflict? I will merge it then.

Okay I’ll fix it.

@rayray2002 rayray2002 force-pushed the SUBMARINE-1045 branch 2 times, most recently from 7148774 to 8a00053 Compare October 25, 2021 05:26
@rayray2002
Copy link
Contributor Author

@rayray2002 sorry, could you fix the merge conflict? I will merge it then.

fixed

Comment on lines +40 to +39
tracking_uri: str = None,
registry_uri: str = None,
aws_access_key_id: str = None,
aws_secret_access_key: str = None,
Copy link
Member

Choose a reason for hiding this comment

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

we should use typing.Optional[str] when default value is None

@asfgit asfgit closed this in 1fb6652 Oct 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants