(resources, metatype)
| 344 | |
| 345 | |
| 346 | def generate_metadata_strings(resources, metatype): |
| 347 | def nothing_or_string(v): |
| 348 | return '"{}"'.format(v) if v else "nothing" |
| 349 | |
| 350 | return [ |
| 351 | jl_resource_tuple_string.format( |
| 352 | relative_package_path=nothing_or_string( |
| 353 | resource.get("relative_package_path", "") |
| 354 | ), |
| 355 | external_url=nothing_or_string(resource.get("external_url", "")), |
| 356 | dynamic=str(resource.get("dynamic", "nothing")).lower(), |
| 357 | type=metatype, |
| 358 | async_string=( |
| 359 | ":{}".format(str(resource.get("async")).lower()) |
| 360 | if "async" in resource.keys() |
| 361 | else "nothing" |
| 362 | ), |
| 363 | ) |
| 364 | for resource in resources |
| 365 | ] |
| 366 | |
| 367 | |
| 368 | def is_core_package(project_shortname): |
no test coverage detected
searching dependent graphs…