1: \begin{abstract}
2: Motivated by the work of Bestvina-Feighn (\cite{BF}) and Mj-Sardar (\cite{pranab-mahan}), we define spaces of tree-graded spaces (resp. graphs of tree-graded graphs) subsuming both the trees of metric spaces and the metric bundles. Then we prove a combination theorem for these spaces. More precisely, we prove that a space of tree-graded spaces is hyperbolic if the following hold. $(1)$ The fibers and the graded pieces are uniformly hyperbolic geodesic metric spaces, $(2)$ barycenter maps for the fibers are uniformly coarsely surjective, $(3)$ the edge spaces are uniformly qi embedded in the corresponding fibers and $(4)$ a uniform flaring condition holds (see Theorem \ref{conclusion-of-main-theorem}). We also show the necessity of a uniform flaring for a space $\mathfrak{X}$, given by a surjective $1$-Lipschitz map $p:\mathfrak{X}\ri\mathfrak{B}$, to be hyperbolic provided fibers are uniformly properly embedded in $\mathfrak{X}$ (see Lemma \ref{flaring-is-necessary-gen}). As a corollary, we get that the uniform flaring is necessary for a space of tree-graded spaces to be hyperbolic (see Corollary \ref{hyp-implies-flaring}).
3:
4: As an application, we prove that the fundamental group of a finite developable simplicial complex of non-elementary hyperbolic groups with the \emph{weak qi condition} (see Definition \ref{com-grp-weak-qi-con}) is hyperbolic provided local monomorphisms are qi embeddings, the development is hyperbolic and a uniform flaring condition holds (see Theorem \ref{application-2}). We also show the necessity of a
5: uniform flaring in general situations. More precisely, we prove that if the fundamental group of a finite developable simplicial complex of finitely generated groups is hyperbolic, then it satisfies a uniform flaring condition(see Lemma \ref{flaring-is-necessity-gen-com-grp}).
6: \end{abstract}
7: