'Retrieve build object from API
:param build_pk: Build primary key'

@staticmethod
def get_build(build_pk):

    build = {}
    if build_pk:
        build = api_v2.build(build_pk).get()
    return dict(((key, val) for (key, val) in list(build.items()) if (key not in ['project', 'version', 'resource_uri', 'absolute_uri'])))
