Skip to content

Review Section1Rule1 create_data #1756

@JacksonJ-KC

Description

@JacksonJ-KC

I am not sure if the solution that I wrote here is the best way. There might be a simpler solution.

def create_data(self, context, data=None):
return {
key: getattr(context, key)
.get("output", {})
.get("total_area_weighted_building_performance_factor")
for key in context.__dict__
if getattr(context, key) is not None
}

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions