def __init__(self, *args):
        kwargs_possible_params = [
            'document_keys',
            'docrules',
            'only_names',
            'sorting_key',
            'sorting_order'
        ]
        for param in kwargs_possible_params:
            if param in args[0]:
                self.add_property(param, args[0][param])
            else:
                self.add_property(param, {})
Test that a user can retrieve the events of a repo's network.
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/apps/core/search.py/DMSSearchQuery.__init__--crossover with--dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_repos_repo.py/TestRepository.test_network_events