@staticmethod<EOL><INDENT>def metadata_category(item):<DEDENT>
if '<STR_LIT>' in item:<EOL><INDENT>return CATEGORY_SUMMARY<EOL><DEDENT>else:<EOL><INDENT>return CATEGORY_CRATES<EOL><DEDENT>
Extracts the category from an item.

        This backend generates two types of item: 'summary' and 'crate'.