{
  "fileTypes": ["python"],
  "injectionSelector": "L:source -string -comment",
  "patterns": [
    {
      "name": "meta.function-call.python",
      "begin": "\\b(gql)\\s*(\\()",
      "beginCaptures": {
        "1": {
          "name": "meta.function-call.generic.python"
        },
        "2": {
          "name": "punctuation.definition.arguments.begin.python"
        }
      },
      "end": "(\\))",
      "endCaptures": {
        "1": {
          "name": "punctuation.definition.arguments.end.python"
        }
      },
      "patterns": [
        {
          "name": "taggedTemplates",
          "contentName": "meta.embedded.block.graphql",
          "begin": "([bfru]*)((\"(?:\"\")?|'(?:'')?))",
          "beginCaptures": {
            "1": {
              "name": "storage.type.string.python"
            },
            "2": {
              "name": "string.quoted.multi.python"
            },
            "3": {
              "name": "punctuation.definition.string.begin.python"
            }
          },
          "end": "((\\3))",
          "endCaptures": {
            "1": {
              "name": "string.quoted.multi.python"
            },
            "2": {
              "name": "punctuation.definition.string.end.python"
            }
          },
          "patterns": [
            {
              "include": "source.graphql"
            }
          ]
        }
      ]
    }
  ],
  "scopeName": "inline.graphql.python"
}
