def get_environment_config(self, environment_name):
        if environment_name in self._expanded_configuration:
            return self._expanded_configuration[environment_name]

        environment = self.environments[environment_name]
        expanded_conf = {}

        for resource_type, resources in environment['aws_nodes'].items():
            expanded_conf[resource_type] = {}
            for resource_name, configuration in resources.items():
                resource_conf = expanded_conf[resource_type]

                # Apply the `node_template`, if used
                expanded_configuration = self._apply_node_template(
                    resource_type,
                    configuration,
                )
                for index in self.scaling_backend.get_indexes_for_resource(
                    environment_name,
                    resource_type,
                    resource_name,
                    expanded_configuration,
                ):
                    logger.debug(
                        "Expanding context for the %dth %s %s resource",
                        index,
                        resource_name,
                        resource_type,
                    )
                    config_context = self._get_config_context_for_resource(
                        environment_name,
                        resource_type,
                        resource_name,
                        scaling_index=index,
                    )
                    evaluated_conf = evaluate_configuration_templates(
                        configuration=expanded_configuration,
                        context=config_context,
                        debug_trace="%s.%s.%s" % (
                            environment_name,
                            resource_type,
                            resource_name,
                        ),
                    )
                    unique_id = evaluated_conf['unique_id']

                    # TODO: Detect duplicate unique ids
                    resource_conf[unique_id] = evaluated_conf

        return expanded_conf
An endpoint can be specified as a string
dataset/ETHPy150Open winhamwr/neckbeard/neckbeard/configuration.py/ConfigurationManager.get_environment_config--crossover with--dataset/ETHPy150Open debrouwere/facebook-insights/facebookinsights/utils/api.py/GraphAPI.get