figures/sites.py
def site_id_iterator(sites_or_site_ids):
    """
    Convenience method to iterate over site or site id iterables.

    This is helpful for iterating over site objects or site ids for
    Celery tasks
    """
    for obj in sites_or_site_ids:
        yield site_to_id(obj)

    Convenience method to iterate over site or site id iterables.

    This is helpful for iterating over site objects or site ids for
    Celery tasks
    
Convenience method to iterate over site or site id iterables.
This is helpful for iterating over site objects or site ids for
Celery tasks
Convenience method to iterate over site or site id iterables . This is helpful for iterating over site objects or site ids for Celery tasks
def site_id_iterator(sites_or_site_ids):
    for obj in sites_or_site_ids:
        yield site_to_id(obj)
def site_id_iterator ( sites_or_site_ids ) : for obj in sites_or_site_ids : yield site_to_id ( obj )
Convenience method to iterate over site or site id iterables.
Convenience method to iterate over site or site id iterables .
"""
    Convenience method to iterate over site or site id iterables.

    This is helpful for iterating over site objects or site ids for
    Celery tasks
    """
sites_or_site_ids