<s> from solum . api . controllers . camp . v1_1 . datamodel import format <EOL> from solum . api . handlers import handler <EOL> GLOBAL_FORMATS = { <EOL> '<STR_LIT>' : <EOL> format . Format ( uri = '<STR_LIT>' , <EOL> name = '<STR_LIT>' , <EOL> type = '<STR_LIT>' , <EOL> description = "<STR_LIT>" , <EOL> mime_type = '<STR_LIT:application/json>' , <EOL> version = '<STR_LIT>' , <EOL> documentation = '<STR_LIT>' ) <EOL> } <EOL> class FormatHandler ( handler . Handler ) : <EOL> def get ( self , path ) : <EOL> if path in GLOBAL_FORMATS : <EOL> return GLOBAL_FORMATS [ path ] </s>
