"""
This module contains
"""
from celery import task
from treeherder.etl.buildapi import RunningJobsProcess, PendingJobsProcess


@task(name='fetch-buildapi-pending')
def fetch_buildapi_pending(url):
    """
    Fetches the buildapi pending jobs api and load them to
    the objectstore ingestion endpoint
    """
    PendingJobsProcess().run()


@task(name='fetch-buildapi-running')
def fetch_buildapi_pending(url):
    """
    Fetches the buildapi running jobs api and load them to
    the objectstore ingestion endpoint
    """
    RunningJobsProcess().run()

@@ -179,35 +179,32 @@
 uildapi_pending(
-url
 ):%0A    %22%22%22%0A    F
@@ -405,11 +405,8 @@
 ing(
-url
 ):%0A 

remove unused param from buildapi tasks