def __init__(self, payload=None, requirements=None, **kwargs):
    payload = payload or Payload()

    assert_list(requirements, expected_type=PythonRequirement, key_arg='requirements')
    payload.add_fields({
      'requirements': PythonRequirementsField(requirements or []),
    })
    super(PythonRequirementLibrary, self).__init__(payload=payload, **kwargs)
    self.add_labels('python')
Cancel a backup job on a target
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/python/targets/python_requirement_library.py/PythonRequirementLibrary.__init__--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/backup/drivers/ebs.py/EBSBackupDriver.cancel_target_job