data/model/oci/tag.py
def filter_to_alive_tags(query, now_ms=None, model=Tag):
    """
    Adjusts the specified Tag query to only return those tags alive.

    If now_ms is specified, the given timestamp (in MS) is used in place of the current timestamp
    for determining wherther a tag is alive.
    """
    if now_ms is None:
        now_ms = get_epoch_timestamp_ms()

    return query.where((model.lifetime_end_ms >> None) | (model.lifetime_end_ms > now_ms)).where(
        model.hidden == False
    )

    Adjusts the specified Tag query to only return those tags alive.

    If now_ms is specified, the given timestamp (in MS) is used in place of the current timestamp
    for determining wherther a tag is alive.
    
Adjusts the specified Tag query to only return those tags alive.
If now_ms is specified, the given timestamp (in MS) is used in place of the current timestamp
for determining wherther a tag is alive.
Adjusts the specified Tag query to only return those tags alive . If now_ms is specified the given timestamp ( in MS ) is used in place of the current timestamp for determining wherther a tag is alive .
def filter_to_alive_tags(query, now_ms=None, model=Tag):
    if now_ms is None:
        now_ms = get_epoch_timestamp_ms()
    return query.where((model.lifetime_end_ms >> None) | (model.lifetime_end_ms > now_ms)).where(
        model.hidden == False
    )
def filter_to_alive_tags ( query , now_ms = None , model = Tag ) : if now_ms is None : now_ms = get_epoch_timestamp_ms ( ) return query . where ( ( model . lifetime_end_ms >> None ) | ( model . lifetime_end_ms > now_ms ) ) . where ( model . hidden == False )
Adjusts the specified Tag query to only return those tags alive.
Adjusts the specified Tag query to only return those tags alive .
"""
    Adjusts the specified Tag query to only return those tags alive.

    If now_ms is specified, the given timestamp (in MS) is used in place of the current timestamp
    for determining wherther a tag is alive.
    """
query
now_ms
model