I have this line of code in my python file:
included_users = os.environ["INCLUDED_USERS"]
where in one of my config files I have:
INCLUDED_USERS = fname.lname:UDWADAW,fname2.lname2:DADWAD,fname3.lname3:DWAFUD,etc.
How can I make it so that I filter the INCLUDED_USERS list to append to an array with just the strings after ":" ?
so for example I want from the INCLUDED_USERS list:
INCLUDED_USERS_ID = ["UDWADAW,DADWAD,DWAFUD"]