Skip to content
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

Function description from docstring #1700

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

chris-janidlo
Copy link
Contributor

@chris-janidlo chris-janidlo commented Nov 1, 2024

Description

Following our UI discussion today, it occurred to me that we don't have a user-friendly way to add a description to a function. Reading docstrings like this is really easy, so figured I'd knock it out while its on my mind (even though we don't really do anything with function descriptions yet).

Currently includes the changes from the other work it's based off of from #1699, hence the draft mode.

[sc-37237]

Type of change

  • New feature (non-breaking change that adds functionality)

@khk-globus
Copy link
Contributor

Currently includes the changes from the other work it's based off of from #1699, hence the draft mode.

Awesome; this is a great idea. Good call and nicely done! I was just about to comment, when this statement clued in for me. Let's see how this looks once the "parent" PR lands, but generally 👍 .

@chris-janidlo chris-janidlo force-pushed the function-description-from-docstring branch from a9c634f to 36607d6 Compare November 11, 2024 17:51
@chris-janidlo chris-janidlo marked this pull request as ready for review November 11, 2024 17:52
Copy link
Contributor

@khk-globus khk-globus left a comment

Choose a reason for hiding this comment

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

Definitely gonna be a nice ergonomic addition.

@chris-janidlo chris-janidlo force-pushed the function-description-from-docstring branch from 36607d6 to 7dd2aa9 Compare November 14, 2024 20:13
docs/sdk.rst Outdated Show resolved Hide resolved
@chris-janidlo chris-janidlo force-pushed the function-description-from-docstring branch from 7dd2aa9 to d8fd266 Compare November 14, 2024 21:15
Copy link
Contributor

@khk-globus khk-globus left a comment

Choose a reason for hiding this comment

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

🏅

@chris-janidlo chris-janidlo merged commit dea2dad into main Nov 14, 2024
17 checks passed
@chris-janidlo chris-janidlo deleted the function-description-from-docstring branch November 14, 2024 21:26
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