Add FIXME about import time overhead

This commit is contained in:
Stijn Seghers 2020-01-17 14:09:40 +13:00
parent 8ff248456b
commit 1fc208e52c
No known key found for this signature in database
GPG Key ID: BF6A2BFEA196E7B6

View File

@ -288,6 +288,7 @@ class AWSManagedPolicy(ManagedPolicy):
# AWS defines some of its own managed policies and we periodically
# import them via `make aws_managed_policies`
# FIXME: Takes about 40ms at import time
aws_managed_policies = [
AWSManagedPolicy.from_data(name, d)
for name, d in json.loads(aws_managed_policies_data).items()