<commit_before>from flow_workflow.future_operation import FutureOperation
import abc


# XXX Possible data clumps/small objects:
#       - input_connections + output_properties


# XXX Questions
#       - does the operation know enough to create the future_net?
#           - if so, should the operation be responsible for creating it?
#           - would it waste storage to keep all this information in redis?


class IAdapter(object):
    __metaclass__ = abc.ABCMeta

    @abc.abstractmethod
    def future_net(self, resources):<commit_msg>remove useless comment about input_connections + output_properties<commit_after>from flow_workflow.future_operation import FutureOperation
import abc


# XXX Questions
#       - does the operation know enough to create the future_net?
#           - if so, should the operation be responsible for creating it?
#           - would it waste storage to keep all this information in redis?


class IAdapter(object):
    __metaclass__ = abc.ABCMeta

    @abc.abstractmethod
    def future_net(self, resources):
{'fraction_non_alphanumeric': 0.05635148042024833, 'fraction_numerical': 0.0, 'mean_word_length': 3.5172413793103448, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '790677', 'n_tokens_mistral': 276, 'n_tokens_neox': 269, 'n_words': 103}