Skip to content

DR-98 docstrings and docs repo#827

Closed
daveatweaviate wants to merge 5 commits intobeta/v4.0from
DR-98-links-in-docstrings-and-repo-docs
Closed

DR-98 docstrings and docs repo#827
daveatweaviate wants to merge 5 commits intobeta/v4.0from
DR-98-links-in-docstrings-and-repo-docs

Conversation

@daveatweaviate
Copy link
Contributor

@daveatweaviate daveatweaviate commented Jan 30, 2024

issue

Updates a couple of the error message links
Updates some of the outdated docs pages on the repo

@daveatweaviate daveatweaviate marked this pull request as draft January 30, 2024 19:21
@daveatweaviate daveatweaviate marked this pull request as ready for review January 30, 2024 19:27
CONTRIBUTING.md Outdated
To activate your virtual environment, run `source .venv/bin/activate`.

To run local instance of Weaviate, we recommend using Docker (see https://weaviate.io/developers/weaviate/installation/docker-compose).
The newest client versions sometimes require upcoming Weaviate core features. We recommend using Docker (see https://weaviate.io/developers/weaviate/installation/docker-compose) to run a local instance of the latest Weaviate core for client development.
Copy link
Contributor

Choose a reason for hiding this comment

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

Upcoming sounds unreleased

Copy link
Contributor Author

@daveatweaviate daveatweaviate Jan 31, 2024

Choose a reason for hiding this comment

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

Yes, the core and client have been developing, with inter-dependencies, ahead of the released server core.

Copy link
Contributor

Choose a reason for hiding this comment

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

My point is that I don't think client features get released without a corresponding server version. @dirkkul pls lmk if that's incorrect.

Copy link
Collaborator

Choose a reason for hiding this comment

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

this is contributing, so for potential developers. I think it makes sense to have it in

Copy link
Contributor

Choose a reason for hiding this comment

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

Then we should maybe point them towards running a dev setup directly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

"https://weaviate.io/developers/weaviate/current/restful-api-references/"
"batch.html#example-request-1"
" `client.batch.configure()` to an integer value . See also: "
"https://weaviate.io/developers/weaviate/client-libraries/python#batching"
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is a v3 warning - I'd leave it like it is

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

multi-threading. Setting `batch_size` in `client.batch.configure()` to an int value will enabled automatic
batching. See:
https://weaviate.io/developers/weaviate/current/restful-api-references/batch.html#example-request-1""",
batching. See:https://weaviate.io/developers/weaviate/client-libraries/python#batching""",
Copy link
Collaborator

Choose a reason for hiding this comment

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

same, also old v3 warning

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

message="""Dep006: You are using the `client.batch()` method, which will be removed in the next major release.
Please instead use the `client.batch.configure()` method to configure your batch and `client.batch` to enter the context manager.
See https://weaviate.io/developers/weaviate/client-libraries/python for details.""",
See https://weaviate.io/developers/weaviate/client-libraries/python#batching for details.""",
Copy link
Collaborator

Choose a reason for hiding this comment

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

same

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

Copy link
Contributor Author

@daveatweaviate daveatweaviate left a comment

Choose a reason for hiding this comment

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

@dirkkul @databyjp thanks for the feedback, this is ready for another look

CONTRIBUTING.md Outdated
To activate your virtual environment, run `source .venv/bin/activate`.

To run local instance of Weaviate, we recommend using Docker (see https://weaviate.io/developers/weaviate/installation/docker-compose).
The newest client versions sometimes require upcoming Weaviate core features. We recommend using Docker (see https://weaviate.io/developers/weaviate/installation/docker-compose) to run a local instance of the latest Weaviate core for client development.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

"https://weaviate.io/developers/weaviate/current/restful-api-references/"
"batch.html#example-request-1"
" `client.batch.configure()` to an integer value . See also: "
"https://weaviate.io/developers/weaviate/client-libraries/python#batching"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

multi-threading. Setting `batch_size` in `client.batch.configure()` to an int value will enabled automatic
batching. See:
https://weaviate.io/developers/weaviate/current/restful-api-references/batch.html#example-request-1""",
batching. See:https://weaviate.io/developers/weaviate/client-libraries/python#batching""",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

message="""Dep006: You are using the `client.batch()` method, which will be removed in the next major release.
Please instead use the `client.batch.configure()` method to configure your batch and `client.batch` to enter the context manager.
See https://weaviate.io/developers/weaviate/client-libraries/python for details.""",
See https://weaviate.io/developers/weaviate/client-libraries/python#batching for details.""",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

Copy link
Collaborator

@dirkkul dirkkul left a comment

Choose a reason for hiding this comment

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

Thanks @daveatweaviate!

We merged the beta branch to main in the mean time, could you change the target? In case the PR is then borked: You can branch of main, cherry-pick, the commits from here and make a new PR, I'Ll merge that right away.

@daveatweaviate daveatweaviate changed the base branch from beta/v4.0 to main February 1, 2024 14:25
@daveatweaviate daveatweaviate requested a review from a team as a code owner February 1, 2024 14:25
@daveatweaviate daveatweaviate changed the base branch from main to beta/v4.0 February 1, 2024 14:26
@daveatweaviate
Copy link
Contributor Author

Closing - base branch changed. New PR

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