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

fix: add read-only decorator to APIs #104

Merged
merged 2 commits into from
Apr 20, 2024
Merged

Conversation

Alchez
Copy link
Collaborator

@Alchez Alchez commented Apr 18, 2024

Closes #66.

@agritheory I've only added the decorator to whitelisted functions that are not modifying the database. Let me know if I missed anything.

@Alchez Alchez requested a review from agritheory April 18, 2024 06:30
.pre-commit-config.yaml Outdated Show resolved Hide resolved
@agritheory agritheory merged commit 0323066 into version-14 Apr 20, 2024
5 checks passed
@agritheory agritheory deleted the fix-read-only-api branch May 2, 2024 13:11
Alchez added a commit that referenced this pull request May 7, 2024
Co-authored-by: Rohan Bansal <rohan@agritheory.dev>
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 @frappe.read_only() to appropriate APIs
2 participants