-
Notifications
You must be signed in to change notification settings - Fork 121
Generated new Python types #2827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,10 +3,6 @@ | |
|
|
||
|
|
||
| class AuthenticationMethod(Enum): | ||
| """ | ||
| :meta private: [EXPERIMENTAL] | ||
| """ | ||
|
|
||
| OAUTH = "OAUTH" | ||
| PAT = "PAT" | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,9 +12,7 @@ | |
|
|
||
| @dataclass(kw_only=True) | ||
| class PowerBiTable: | ||
| """ | ||
| :meta private: [EXPERIMENTAL] | ||
| """ | ||
| """""" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @kanterov Can you take a look at why this yields an empty doc block?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @pietern it works as intended, class doesn't have experimental annotation and no description in JSON schema
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't empty docstrings be omitted from the output instead?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From what I remember missing class doc string breaks the parsing of field doc strings
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack, thanks for clarifying
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure it's still needed. I there was a problem with VSCode, but I have found that it's resolved now. Databricks SDK doesn't add empty doc strings, at least we should keep both consistent, I will create a PR to remove empty doc strings. |
||
|
|
||
| catalog: VariableOrOptional[str] = None | ||
| """ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why pushd vs cd?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we use popd anywhere, lets use cd here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nvm, I see this is what @kanterov recommends. Not sure why though.