irie 0.0.44__py3-none-any.whl → 0.0.45__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of irie might be problematic. Click here for more details.

@@ -65,6 +65,8 @@ class AssetFilter(django_filters.FilterSet):
65
65
  def filter_district(self, queryset, name, value):
66
66
  return [
67
67
  asset for asset in queryset if (
68
- asset.nbi_data and asset.nbi_data["NBI_BRIDGE"]["Highway Agency District"] == value
68
+ asset.nbi_data and \
69
+ "Highway Agency District" in asset.nbi_data["NBI_BRIDGE"] and \
70
+ asset.nbi_data["NBI_BRIDGE"]["Highway Agency District"] == value
69
71
  )
70
72
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: irie
3
- Version: 0.0.44
3
+ Version: 0.0.45
4
4
  Summary: An infrastructure resilience engine
5
5
  Author-email: "Claudio M. Perez" <50180406+claudioperez@users.noreply.github.com>
6
6
  Project-URL: Repository, https://github.com/STAIRLab
@@ -59,7 +59,7 @@ irie/apps/inventory/__init__.py,sha256=wkkNngGxgYcCM745-rlvP6ynrI0b0QN3aWmLWDsR8
59
59
  irie/apps/inventory/admin.py,sha256=e_W8ls_ARLLf8rn3oJd-YkPdTGMIrcN-mRrxk2BcY3c,472
60
60
  irie/apps/inventory/apps.py,sha256=bZ6qYIwPMG4_4IeLfg9N4WuZAEgEVj84oOswV-7_MAI,424
61
61
  irie/apps/inventory/fields.py,sha256=J3nTImPsuCeiOWBizSL4tnuKs36sPfXALNTKEZY-wVg,79
62
- irie/apps/inventory/filters.py,sha256=G2bKs_EkfP9IQl4v9Fo4hHtxILvm6Bs9rQfTeuIUCFk,2185
62
+ irie/apps/inventory/filters.py,sha256=ZEM4aubBqATThyaUhdFFoZnZBUASGj5pwtsXcgyOz8Q,2295
63
63
  irie/apps/inventory/forms.py,sha256=y8tcIGInXDg7KCf1OWd1jtc4umJsm8rf8-4O8nDhNd4,1244
64
64
  irie/apps/inventory/models.py,sha256=ie7XhFDujpoyIinmX-YfScVx28SkkRhFadU0iNLC9HI,6073
65
65
  irie/apps/inventory/sitemaps.py,sha256=Nha1MTsIH_ad7JyoxwonPytp7MNuEhDNszkEUOmlN0o,826
@@ -486,8 +486,8 @@ irie/init/management/commands/make_asset.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
486
486
  irie/pull/nbi.py,sha256=KpBjJ9GEU72Qk1t4bGN9cg0QBeVJ8k9XcI3Y1oSgIR0,11478
487
487
  irie/rest/__main__.py,sha256=6Nf_-Rr9zGmMyp_wqCFDO7ls9QPnPd9UyUgN17rIGYw,3680
488
488
  irie/usgs/__main__.py,sha256=HiSvPn5IW5IqRiCk1qRRq5dCy3-7iISw7v1P_w2rLrk,5049
489
- irie-0.0.44.dist-info/METADATA,sha256=PJwKA0irw4M7wbpVeFdYI_s5Rx3FdNnHfP5XXLFmkfc,3207
490
- irie-0.0.44.dist-info/WHEEL,sha256=tTnHoFhvKQHCh4jz3yCn0WPTYIy7wXx3CJtJ7SJGV7c,91
491
- irie-0.0.44.dist-info/entry_points.txt,sha256=A_3h9wPBGfxGQ78_MGa-nO6Z0foxOYeAnIE47jxEztg,44
492
- irie-0.0.44.dist-info/top_level.txt,sha256=zVCxi5E2nkISZPzKq8VEhWe_dGuPcefLYV1tYqQdwlY,5
493
- irie-0.0.44.dist-info/RECORD,,
489
+ irie-0.0.45.dist-info/METADATA,sha256=Sfs8DI6WGsfvEHkGCAHCp256LDnelpkFeHsEBkVOVLc,3207
490
+ irie-0.0.45.dist-info/WHEEL,sha256=tTnHoFhvKQHCh4jz3yCn0WPTYIy7wXx3CJtJ7SJGV7c,91
491
+ irie-0.0.45.dist-info/entry_points.txt,sha256=A_3h9wPBGfxGQ78_MGa-nO6Z0foxOYeAnIE47jxEztg,44
492
+ irie-0.0.45.dist-info/top_level.txt,sha256=zVCxi5E2nkISZPzKq8VEhWe_dGuPcefLYV1tYqQdwlY,5
493
+ irie-0.0.45.dist-info/RECORD,,
File without changes