No description
* feat(minor): Implement __getitem__ in Base Document This addition allows for syntactic sugars like writing doc["name"] to access document name. This addition is solely for the sake of code simplicity. Since dictionaries in Python follow this standard, we can write code that works for both Vanilla Dicts, Frappe Dicts & all Document objects * fix: Use getattr over get in getitem For the sake of consistency and some level of sanity in the universe. Co-authored-by: Ankush Menat <ankush@frappe.io> * fix: Raise KeyError instead of AttributeError why: shit breaks down. Specifically stuff in Jinja templates, attributes that are conditional. Either this is acceptable or subscripting objects cannot and probably should not be possible along with our pre-condiitons * chore: Use hasattr instead of get default Couldn't decide between a style commit or a chore Co-authored-by: Ankush Menat <ankush@frappe.io> (cherry picked from commit 583a7ef23923d362c85beeabe57703c2d5b12a65) Co-authored-by: gavin <gavin18d@gmail.com> |
||
|---|---|---|
| .github | ||
| cypress | ||
| esbuild | ||
| frappe | ||
| .editorconfig | ||
| .eslintignore | ||
| .eslintrc | ||
| .flake8 | ||
| .git-blame-ignore-revs | ||
| .gitignore | ||
| .mergify.yml | ||
| .pylintrc | ||
| .snyk | ||
| .stylelintrc | ||
| attributions.md | ||
| bandit.yml | ||
| CODE_OF_CONDUCT.md | ||
| codecov.yml | ||
| CODEOWNERS | ||
| cypress.json | ||
| dev-requirements.txt | ||
| generate_bootstrap_theme.js | ||
| hooks.md | ||
| LICENSE | ||
| Makefile | ||
| node_utils.js | ||
| package.json | ||
| README.md | ||
| requirements.txt | ||
| SECURITY.md | ||
| setup.py | ||
| sider.yml | ||
| socketio.js | ||
| yarn.lock | ||
Full-stack web application framework that uses Python and MariaDB on the server side and a tightly integrated client side library. Built for ERPNext
Table of Contents
Installation
Contributing
Resources
- frappeframework.com - Official documentation of the Frappe Framework.
- frappe.school - Pick from the various courses by the maintainers or from the community.
License
This repository has been released under the MIT License.