def _generate_schema_str(self, name: str, graphql_type: str, fields: Dict[(str, str)], implements: Optional[str]=None) -> str:
    '\n        Generate a schema string for a given name, object type and dict of fields.\n        '
    schema = f'{graphql_type} {name} '
    if implements:
        schema += f'implements {implements} '
    schema += '{\n'
    for (field, field_type) in fields.items():
        schema += f'''  {field}: {field_type}
'''
    schema += '}\n\n'
    return schema
Generate a schema string for a given name, object type and dict of fields.
def _generate_schema_str(self, name: str, graphql_type: str, fields: Dict[(str, str)], implements: Optional[str]=None) -> str:
    '\n        \n        '
    schema = f'{graphql_type} {name} '
    if implements:
        schema += f'implements {implements} '
    schema += '{\n'
    for (field, field_type) in fields.items():
        schema += f'  {field}: {field_type}
'
    schema += '}\n\n'
    return schema