mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-16 19:40:39 +03:00
Updated Docs and Example Code Style Guide Work: graphene v 3.0 (markdown)
parent
1a0fb64eb3
commit
ec79fff6ef
|
@ -3,6 +3,8 @@
|
|||
|
||||
### Elements discussed and decided:
|
||||
|
||||
Example code and snippets should always be copy/paste complete as running code, unless it's a one-liner or short explanatory snippet for which the context is very (very) clear.
|
||||
|
||||
Use explicit imports. `from graphene import ...` rather than `import graphene`.
|
||||
|
||||
Use class arguments instead of `class Meta`.
|
||||
|
|
Loading…
Reference in New Issue
Block a user