Hello Tanner,
That object is not generally instantiated manually except for tests. In that case, just pass in You should receive a list of these in your extension from hq in self.account_list. There are many ways in python to search for an individual item in the list.
If you are building an extension that is supposed to sit inside the account details page, then on the first call to the extension you should receive the account id here: self.form_fields["tct-ctxid"]
Without knowing exactly what you are looking for, I don't know how to help you exactly. If you could describe the situation and what account you are wanting to pull then I can try and assist you better.
-Trey
Have you found a solution for this? I tried following the advice below but my
— Irene Ma 2 years agoself.form_fieldsdoesnt have the fieldtct-ctxid, it has atct-idbut that doesnt hold any account information.