DumpFormat Bases: Enum Source code in pum/dumper.py 15 16 17 18 19 20 21 22 23 24class DumpFormat(Enum): CUSTOM = "custom" PLAIN = "plain" def to_pg_dump_flag(self): if self == DumpFormat.CUSTOM: return "-Fc" elif self == DumpFormat.PLAIN: return "-Fp" raise ValueError(f"Unknown dump format: {self}")