write# Deck.write(buf: Optional[TextIO] = None, format: Optional[format_type] = None)# Write the card in the dyna keyword format. Parameters: bufoptionalBuffer to write to. The default is None, in which case the output is returned as a string. formatoptionalFormat to write in. The default is None.