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

Add support for debug get object endpoint: #1507

Merged
merged 8 commits into from
Jan 10, 2025
Merged

Conversation

tsmith023
Copy link
Contributor

  • Introduce debug namespace at the client-level
  • Add get_object method to it that hits /object/{className}/{id}

Closes #1504

- Introduce `debug` namespace at the client-level
- Add `get_object` method to it that hits `/object/{className}/{id}`
@tsmith023 tsmith023 requested a review from dirkkul January 10, 2025 12:22
Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 1 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca
🛡️ The following SAST misconfigurations have been detected
NAME FILE
info Weak random number generation may compromise cryptographic security ...filing/test_batch.py View in code

Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

weaviate/debug/debug.py Outdated Show resolved Hide resolved
weaviate/debug/types.py Outdated Show resolved Hide resolved
@tsmith023 tsmith023 merged commit c02ed69 into main Jan 10, 2025
39 checks passed
@tsmith023 tsmith023 deleted the #1504/add-debug-get-object branch January 10, 2025 17:37
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.

Add support for /objects/{className}/{id} endpoint
2 participants