mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-12-08 18:54:20 +03:00
29 lines
433 B
Python
29 lines
433 B
Python
|
|
def find_brakes(self, recursion):
|
|
pass
|
|
|
|
|
|
REGEXES = [
|
|
r'((?P<recursive_points>\*+)(?P<model_name>\s?\w+\s*)(?P<body>(\{|.*|\n*|\})*))',
|
|
r'(\*node\s)*(\{(((?>[^{}]+)|(?R))*)\})',
|
|
]
|
|
|
|
query = """
|
|
query recursion_point {
|
|
module {
|
|
id
|
|
name
|
|
*module {
|
|
edges {
|
|
node {
|
|
id
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
"""
|
|
|
|
if __name__ == "__main__":
|
|
|