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

Introduce deprecations to langchain-databricks #48

Merged
merged 6 commits into from
Dec 17, 2024

Conversation

prithvikannan
Copy link
Contributor

@prithvikannan prithvikannan commented Dec 13, 2024

Update README to reflect that langchain-databricks should be deprecated, and mark classes with @deprecated annotations.

Signed-off-by: Prithvi Kannan <[email protected]>
@prithvikannan prithvikannan marked this pull request as ready for review December 13, 2024 21:26
Signed-off-by: Prithvi Kannan <[email protected]>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

not sure why we had two README's here, but this looks to be the one that gets published to pypi https://pypi.org/project/langchain-databricks/

Copy link
Member

@efriis efriis left a comment

Choose a reason for hiding this comment

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

looks good! Can look at robocorp for inspo on the deprecation notice if the table cell is clearer

https://pypi.org/project/langchain-robocorp/

@@ -58,6 +59,9 @@
logger = logging.getLogger(__name__)


@deprecated(
Copy link
Member

Choose a reason for hiding this comment

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

oh actually probably not even worth calling out removal here because whole pacakge is deprecated

Copy link
Member

Choose a reason for hiding this comment

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

i.e. we're unlikely to ever publish a 1.0 of this package

Copy link
Contributor Author

Choose a reason for hiding this comment

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

adding back removal to pass lint. but agreed that we won't end up publishing 1.0

Signed-off-by: Prithvi Kannan <[email protected]>
Signed-off-by: Prithvi Kannan <[email protected]>
Signed-off-by: Prithvi Kannan <[email protected]>
@B-Step62 B-Step62 merged commit 5c86990 into langchain-ai:main Dec 17, 2024
8 checks passed
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.

3 participants