forked from sauldom102/gql_schema_codegen
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from crashappsec/enums
adding --import/--only flags
- Loading branch information
Showing
20 changed files
with
155 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
Pipfile* | ||
*__pycache__* | ||
tags | ||
build | ||
*.egg-info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from .schema.schema import Schema | ||
|
||
VERSION = (1, 0, 0) | ||
__version__ = '.'.join(str(x) for x in VERSION) | ||
__version__ = ".".join(str(x) for x in VERSION) | ||
|
||
__all__ = ['Schema'] | ||
__all__ = ["Schema"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from .base import BaseInfo | ||
|
||
__all__ = ['BaseInfo'] | ||
__all__ = ["BaseInfo"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from .block import Block, BlockInfo, BlockField, BlockFieldInfo | ||
|
||
__all__ = ['Block', 'BlockInfo', 'BlockField', 'BlockFieldInfo'] | ||
__all__ = ["Block", "BlockInfo", "BlockField", "BlockFieldInfo"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,21 @@ | ||
from .constants import DIRECTIVE_PATTERN, DIRECTIVE_USAGE_PATTERN, SCALAR_PATTERN, UNION_PATTERN, VALUE_TYPES, BLOCK_PATTERN, FIELD_PATTERN, RESOLVER_TYPES | ||
from .constants import ( | ||
DIRECTIVE_PATTERN, | ||
DIRECTIVE_USAGE_PATTERN, | ||
SCALAR_PATTERN, | ||
UNION_PATTERN, | ||
VALUE_TYPES, | ||
BLOCK_PATTERN, | ||
FIELD_PATTERN, | ||
RESOLVER_TYPES, | ||
) | ||
|
||
__all__ = ['DIRECTIVE_PATTERN', 'DIRECTIVE_USAGE_PATTERN', 'SCALAR_PATTERN', | ||
'UNION_PATTERN', 'VALUE_TYPES', 'BLOCK_PATTERN', 'FIELD_PATTERN', 'RESOLVER_TYPES'] | ||
__all__ = [ | ||
"DIRECTIVE_PATTERN", | ||
"DIRECTIVE_USAGE_PATTERN", | ||
"SCALAR_PATTERN", | ||
"UNION_PATTERN", | ||
"VALUE_TYPES", | ||
"BLOCK_PATTERN", | ||
"FIELD_PATTERN", | ||
"RESOLVER_TYPES", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from .dependency import Dependency, DependencyGroup | ||
|
||
__all__ = ['Dependency', 'DependencyGroup'] | ||
__all__ = ["Dependency", "DependencyGroup"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from .scalar import ScalarType, ScalarInfo | ||
|
||
__all__ = ['ScalarType', 'ScalarInfo'] | ||
__all__ = ["ScalarType", "ScalarInfo"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from .schema import Schema | ||
|
||
__all__ = ['Schema'] | ||
__all__ = ["Schema"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from .union import UnionType, UnionInfo | ||
|
||
__all__ = ['UnionType', 'UnionInfo'] | ||
__all__ = ["UnionType", "UnionInfo"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from .pascal_case import pascal_case | ||
|
||
__all__ = ['pascal_case'] | ||
__all__ = ["pascal_case"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[flake8] | ||
ignore = E501 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters