class documentation

class MigrationWriter:

View In Hierarchy

Take a Migration instance and is able to produce the contents of the migration file from it.
Class Method register​_serializer Undocumented
Class Method serialize Undocumented
Class Method unregister​_serializer Undocumented
Method __init__ Undocumented
Method as​_string Return a string of the file contents.
Instance Variable include​_header Undocumented
Instance Variable migration Undocumented
Instance Variable needs​_manual​_porting Undocumented
Property basedir Undocumented
Property filename Undocumented
Property path Undocumented
@classmethod
def register_serializer(cls, type_, serializer):

Undocumented

@classmethod
def serialize(cls, value):

Undocumented

@classmethod
def unregister_serializer(cls, type_):

Undocumented

def __init__(self, migration, include_header=True):

Undocumented

def as_string(self):
Return a string of the file contents.
include_header =

Undocumented

migration =

Undocumented

needs_manual_porting: bool =

Undocumented

@property
basedir =

Undocumented

@property
filename =

Undocumented

@property
path =

Undocumented