REF: pytables remove need for set_atom
Note this is doing the same thing as #30142 but in a different place.  In both cases we are taking attrs that are currently pinned on post-constructor and instead passing them to the constructors.
needs a rebase Thanks @jbrockmendel 