Given a Gödel numbering $\phi_n$ of the partial recursive unary functions, the Rice-Shapiro theorem states
Let $\mathcal A$ be a family of partial-recursive unary functions such that its index set $A = \{ x \in \mathbb N\ |\ \phi_x \in \mathcal A \}$ is r. e. Then for any partial recursive unary $f,$ $$f \in \mathcal A \iff \exists \theta \in \mathcal A \text{ finite function with } \theta \subseteq f.$$
Let $\mathcal B = \{U_\theta\ |\ \theta \text{ finite function}\},$ for $$ U_\theta = \{f \text{ partial recursive } |\ \theta \subseteq f \}. $$ Then $\mathcal B$ is the basis of a topology in the set of all partial recursive functions (in fact, this extends to the set of all partial unary functions). Then the content of the Rice-Shapiro theorem as stated is that any such $\mathcal A$ is open with respect to this topology. The corresponding Wikipedia page makes a stronger claim: in this notation,
$\mathcal A$ has r. e. index set iff it is a recursively enumerable union of $U_\theta$.
I'm not $100\%$ sure of what a r. e. union means in this context. I first assumed that for a family $\{ U_\theta\ |\ \theta \in \Theta \}$ it means something like:
There is a (total) recursive function $k(x)$ such that {$\phi_{k(x)}\ |\ x \in \mathbb N\} = \Theta.$
However that does not seem enough, because there must also be an effective way to know what the domain of $\phi_{k(x)}$ is.
So I guess that an appropriate bijective enumeration $\theta_n$ of the set of all finite functions must be used, such that the predicate “$\phi_x \text{ extends } \theta_y$” is partially decidable. Then r. e. subsets of finite functions correspond to r. e. subsets of $\mathbb N.$
If I use that definition I think I can finish the proof for both implications. So my question is, is this the correct definition? If so, I can intuitively see that such enumeration exists, but is there a reference where it's constructed explicitely? For example in Hartley-Roger's book there is a version of the theorem for sets, but not for finite functions.