Postgres Insert Into Array Python Methods Vs Attributes