- uv (Python)
- bun (JS/TS)
- Rust (Rustup)
- cursor
This file contains hidden or 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
"""Added postgresql-audit | |
Revision ID: bb4c40ff8edd | |
Revises: 771a56f4f9ec | |
Create Date: 2024-05-08 13:03:23.581216 | |
""" | |
from alembic import op | |
# revision identifiers, used by Alembic. |
This file contains hidden or 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
from graphene.utils.str_converters import to_snake_case | |
from graphql.utils.ast_to_dict import ast_to_dict | |
from sqlalchemy.orm import ColumnProperty, Query, RelationshipProperty, joinedload, lazyload, load_only, selectinload, \ | |
subqueryload | |
def collect_fields(node, fragments): | |
"""Recursively collects fields from the AST | |
Args: | |
node (dict): A node in the AST |
This file contains hidden or 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
version: '3' | |
volumes: | |
postgres_data: | |
driver: local | |
services: | |
postgres: | |
image: postgres | |
environment: |
This file contains hidden or 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
overwrite: true | |
schema: "test.graphql" | |
documents: null | |
generates: | |
generated/test.py: | |
plugins: | |
- "lib/graphql-codegen-graphene.js" |