本文整理汇总了Python中variable_functions.my_attribute_label函数的典型用法代码示例。如果您正苦于以下问题:Python my_attribute_label函数的具体用法?Python my_attribute_label怎么用?Python my_attribute_label使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了my_attribute_label函数的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: dependencies
def dependencies(self):
return [
my_attribute_label(self.number_of_industrial_jobs),
my_attribute_label(self.industrial_sqft_within_walking_distance),
my_attribute_label(self.number_of_industrial_jobs_wwd),
my_attribute_label(self.industrial_sqft),
]
示例2: dependencies
def dependencies(self):
deps = [my_attribute_label("x_coord_sp"),
my_attribute_label("y_coord_sp"),
self.quantity
]
if self.filter is not None:
deps.append(self.filter)
return deps
示例3: dependencies
def dependencies(self):
return [
"_units_proposed_in_proposal = development_project_proposal_component.disaggregate(urbansim_parcel.development_project_proposal.units_proposed)",
"_is_far_unit = development_project_proposal_component.disaggregate(urbansim_parcel.development_template.is_far)",
my_attribute_label("percent_building_sqft"),
my_attribute_label("building_sqft_per_unit"),
my_attribute_label("is_residential")
]
示例4: dependencies
def dependencies(self):
return [
attribute_label("job", self.job_is_in_employment_sector_group),
attribute_label("job", "job_id"),
attribute_label("job", "grid_id"),
my_attribute_label("grid_id"),
]
示例5: dependencies
def dependencies(self):
return [
attribute_label("development_group", "group_id"),
attribute_label("development_group", self.gr_name),
my_attribute_label(self.development_type_id),
attribute_label("development_type", "development_type_id"),
]
示例6: dependencies
def dependencies(self):
return [
my_attribute_label("units_proposed"),
"velocity_functions = velocity_function.annual_construction_schedule",
"minimum_units = velocity_function.minimum_units",
"maximum_units = velocity_function.maximum_units"
]
示例7: dependencies
def dependencies(self):
return [
my_attribute_label("household_id"),
attribute_label("person", "work_nonhome_based"),
"psrc.person.work_place_zone_id",
attribute_label("person", "household_id"),
]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:7,代码来源:number_of_nonhome_based_workers_with_valid_work_place_zone_id.py
示例8: dependencies
def dependencies(self):
return [my_attribute_label("zone_id"), "psrc.zone." + self.variable_name]
示例9: dependencies
def dependencies(self):
return [my_attribute_label('number_of_surveyed_households')]
示例10: dependencies
def dependencies(self):
return [my_attribute_label("job_id"),
"person.job_id", "person.person_id"]
示例11: dependencies
def dependencies(self):
return [my_attribute_label(self.same_sector_jobs_in_faz)]
示例12: dependencies
def dependencies(self):
return [my_attribute_label(self.year_built)]
示例13: dependencies
def dependencies(self):
return [my_attribute_label(self.number_of_households), my_attribute_label(self.low_income)]
示例14: dependencies
def dependencies(self):
return [attribute_label("gridcell", "zone_id"),
my_attribute_label("zone_id")]