You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our contract with vlex requires that we put a banner on every opinion that we add during the contract, and then keep those banners up for three years from the date the banner first goes up. Our contract ends on January 31.
Right now, the code reads:
# Identify opinions updated/added in partnership with v|lex for 3 yearssponsored=Falseif (
cluster.date_created.date() >datetime.datetime(2022, 6, 1).date()
andcluster.filepath_json_harvard
):
sponsored=True
So this should be changed to only do items created between 2022/6/1 and 2024/01/31, and should be modified to do nothing for any case that was created more than three years ago.
Something like:
if creation-date more than three years ago:
sponsored = False
elif 2022-6-1 < creation-date < 2024-01-31:
sponsored = True
I think that's right!
The text was updated successfully, but these errors were encountered:
Our contract with vlex requires that we put a banner on every opinion that we add during the contract, and then keep those banners up for three years from the date the banner first goes up. Our contract ends on January 31.
Right now, the code reads:
So this should be changed to only do items created between 2022/6/1 and 2024/01/31, and should be modified to do nothing for any case that was created more than three years ago.
Something like:
I think that's right!
The text was updated successfully, but these errors were encountered: