)]}'
{"cinder/volume/volume_utils.py":[{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"26154040b55974470732c233dc8547143bf36f6f","unresolved":false,"context_lines":[{"line_number":179,"context_line":"                                          usage_info)"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"def _usage_from_snapshot(snapshot:objects.Snapshot, context:context.RequestContext, **extra_usage_info) -\u003e dict:"},{"line_number":183,"context_line":"    # (niedbalski) a snapshot might be related to a deleted"},{"line_number":184,"context_line":"    # volume, if that\u0027s the case, the volume information is still"},{"line_number":185,"context_line":"    # required for filling the usage_info, so we enforce to read"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_5b141e44","line":182,"updated":"2020-06-04 14:36:12.000000000","message":"Going to need some reformatting.","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":179,"context_line":"                                          usage_info)"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"def _usage_from_snapshot(snapshot:objects.Snapshot, context:context.RequestContext, **extra_usage_info) -\u003e dict:"},{"line_number":183,"context_line":"    # (niedbalski) a snapshot might be related to a deleted"},{"line_number":184,"context_line":"    # volume, if that\u0027s the case, the volume information is still"},{"line_number":185,"context_line":"    # required for filling the usage_info, so we enforce to read"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_2c0ace24","line":182,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":179,"context_line":"                                          usage_info)"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"def _usage_from_snapshot(snapshot:objects.Snapshot, context:context.RequestContext, **extra_usage_info) -\u003e dict:"},{"line_number":183,"context_line":"    # (niedbalski) a snapshot might be related to a deleted"},{"line_number":184,"context_line":"    # volume, if that\u0027s the case, the volume information is still"},{"line_number":185,"context_line":"    # required for filling the usage_info, so we enforce to read"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_8c05da16","line":182,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":179,"context_line":"                                          usage_info)"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"def _usage_from_snapshot(snapshot:objects.Snapshot, context:context.RequestContext, **extra_usage_info) -\u003e dict:"},{"line_number":183,"context_line":"    # (niedbalski) a snapshot might be related to a deleted"},{"line_number":184,"context_line":"    # volume, if that\u0027s the case, the volume information is still"},{"line_number":185,"context_line":"    # required for filling the usage_info, so we enforce to read"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_6c004603","line":182,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E501 line too long (112 \u003e 79 characters)","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":398,"context_line":""},{"line_number":399,"context_line":"@utils.if_notifications_enabled"},{"line_number":400,"context_line":"def notify_about_group_snapshot_usage(context, group_snapshot, event_suffix,"},{"line_number":401,"context_line":"                                      extra_usage_info\u003dNone, host\u003dNone) -\u003e None:"},{"line_number":402,"context_line":"    if not host:"},{"line_number":403,"context_line":"        host \u003d CONF.host"},{"line_number":404,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_8e002f03","line":401,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E501 line too long (80 \u003e 79 characters)","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":581,"context_line":"             {\u0027size_in_m\u0027: size_in_m, \u0027mbps\u0027: mbps})"},{"line_number":582,"context_line":""},{"line_number":583,"context_line":""},{"line_number":584,"context_line":"def copy_volume(src:str, dest:str, size_in_m:int, blocksize:ty.Union[str, int], sync\u003dFalse,"},{"line_number":585,"context_line":"                execute\u003dutils.execute, ionice\u003dNone, throttle\u003dNone,"},{"line_number":586,"context_line":"                sparse\u003dFalse) -\u003e None:"},{"line_number":587,"context_line":"    \"\"\"Copy data from the source volume to the destination volume."}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_0e141f43","line":584,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":581,"context_line":"             {\u0027size_in_m\u0027: size_in_m, \u0027mbps\u0027: mbps})"},{"line_number":582,"context_line":""},{"line_number":583,"context_line":""},{"line_number":584,"context_line":"def copy_volume(src:str, dest:str, size_in_m:int, blocksize:ty.Union[str, int], sync\u003dFalse,"},{"line_number":585,"context_line":"                execute\u003dutils.execute, ionice\u003dNone, throttle\u003dNone,"},{"line_number":586,"context_line":"                sparse\u003dFalse) -\u003e None:"},{"line_number":587,"context_line":"    \"\"\"Copy data from the source volume to the destination volume."}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_6e031b0e","line":584,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":581,"context_line":"             {\u0027size_in_m\u0027: size_in_m, \u0027mbps\u0027: mbps})"},{"line_number":582,"context_line":""},{"line_number":583,"context_line":""},{"line_number":584,"context_line":"def copy_volume(src:str, dest:str, size_in_m:int, blocksize:ty.Union[str, int], sync\u003dFalse,"},{"line_number":585,"context_line":"                execute\u003dutils.execute, ionice\u003dNone, throttle\u003dNone,"},{"line_number":586,"context_line":"                sparse\u003dFalse) -\u003e None:"},{"line_number":587,"context_line":"    \"\"\"Copy data from the source volume to the destination volume."}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ae09b32b","line":584,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":581,"context_line":"             {\u0027size_in_m\u0027: size_in_m, \u0027mbps\u0027: mbps})"},{"line_number":582,"context_line":""},{"line_number":583,"context_line":""},{"line_number":584,"context_line":"def copy_volume(src:str, dest:str, size_in_m:int, blocksize:ty.Union[str, int], sync\u003dFalse,"},{"line_number":585,"context_line":"                execute\u003dutils.execute, ionice\u003dNone, throttle\u003dNone,"},{"line_number":586,"context_line":"                sparse\u003dFalse) -\u003e None:"},{"line_number":587,"context_line":"    \"\"\"Copy data from the source volume to the destination volume."}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ce06a71c","line":584,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":581,"context_line":"             {\u0027size_in_m\u0027: size_in_m, \u0027mbps\u0027: mbps})"},{"line_number":582,"context_line":""},{"line_number":583,"context_line":""},{"line_number":584,"context_line":"def copy_volume(src:str, dest:str, size_in_m:int, blocksize:ty.Union[str, int], sync\u003dFalse,"},{"line_number":585,"context_line":"                execute\u003dutils.execute, ionice\u003dNone, throttle\u003dNone,"},{"line_number":586,"context_line":"                sparse\u003dFalse) -\u003e None:"},{"line_number":587,"context_line":"    \"\"\"Copy data from the source volume to the destination volume."}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ee0e0b30","line":584,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E501 line too long (91 \u003e 79 characters)","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":659,"context_line":"        vg_name)"},{"line_number":660,"context_line":""},{"line_number":661,"context_line":""},{"line_number":662,"context_line":"def extract_availability_zones_from_volume_type(volume_type) -\u003e ty.Optional[list]:"},{"line_number":663,"context_line":"    if not volume_type:"},{"line_number":664,"context_line":"        return None"},{"line_number":665,"context_line":"    extra_specs \u003d volume_type.get(\u0027extra_specs\u0027, {})"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_4e1a976e","line":662,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E501 line too long (82 \u003e 79 characters)","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":721,"context_line":"DEFAULT_POOL_NAME \u003d \u0027_pool0\u0027"},{"line_number":722,"context_line":""},{"line_number":723,"context_line":""},{"line_number":724,"context_line":"def extract_host(host:str, level\u003d\u0027backend\u0027, default_pool_name\u003dFalse) -\u003e ty.Optional[str]:"},{"line_number":725,"context_line":"    \"\"\"Extract Host, Backend or Pool information from host string."},{"line_number":726,"context_line":""},{"line_number":727,"context_line":"    :param host: String for host, which could include host@backend#pool info"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_2e15a33d","line":724,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":721,"context_line":"DEFAULT_POOL_NAME \u003d \u0027_pool0\u0027"},{"line_number":722,"context_line":""},{"line_number":723,"context_line":""},{"line_number":724,"context_line":"def extract_host(host:str, level\u003d\u0027backend\u0027, default_pool_name\u003dFalse) -\u003e ty.Optional[str]:"},{"line_number":725,"context_line":"    \"\"\"Extract Host, Backend or Pool information from host string."},{"line_number":726,"context_line":""},{"line_number":727,"context_line":"    :param host: String for host, which could include host@backend#pool info"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_8e294f8b","line":724,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E501 line too long (89 \u003e 79 characters)","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":774,"context_line":"    return None  # FIX"},{"line_number":775,"context_line":""},{"line_number":776,"context_line":""},{"line_number":777,"context_line":"def append_host(host: ty.Optional[str], pool: ty.Optional[str]) -\u003e ty.Optional[str]:"},{"line_number":778,"context_line":"    \"\"\"Encode pool into host info.\"\"\""},{"line_number":779,"context_line":"    if not host or not pool:"},{"line_number":780,"context_line":"        return host"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_6e2cbb98","line":777,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E501 line too long (84 \u003e 79 characters)","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":841,"context_line":"    return match.group(\u0027uuid\u0027) if match else None"},{"line_number":842,"context_line":""},{"line_number":843,"context_line":""},{"line_number":844,"context_line":"def paginate_entries_list(entries:ty.List[dict],"},{"line_number":845,"context_line":"                          marker:ty.Optional[ty.Union[dict, str]],"},{"line_number":846,"context_line":"                          limit:int,"},{"line_number":847,"context_line":"                          offset:int,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ce1fc758","line":844,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":842,"context_line":""},{"line_number":843,"context_line":""},{"line_number":844,"context_line":"def paginate_entries_list(entries:ty.List[dict],"},{"line_number":845,"context_line":"                          marker:ty.Optional[ty.Union[dict, str]],"},{"line_number":846,"context_line":"                          limit:int,"},{"line_number":847,"context_line":"                          offset:int,"},{"line_number":848,"context_line":"                          sort_keys:ty.List[str],"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ae2253a1","line":845,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":843,"context_line":""},{"line_number":844,"context_line":"def paginate_entries_list(entries:ty.List[dict],"},{"line_number":845,"context_line":"                          marker:ty.Optional[ty.Union[dict, str]],"},{"line_number":846,"context_line":"                          limit:int,"},{"line_number":847,"context_line":"                          offset:int,"},{"line_number":848,"context_line":"                          sort_keys:ty.List[str],"},{"line_number":849,"context_line":"                          sort_dirs:ty.List[str]) -\u003e list:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_0e3d3fc3","line":846,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":844,"context_line":"def paginate_entries_list(entries:ty.List[dict],"},{"line_number":845,"context_line":"                          marker:ty.Optional[ty.Union[dict, str]],"},{"line_number":846,"context_line":"                          limit:int,"},{"line_number":847,"context_line":"                          offset:int,"},{"line_number":848,"context_line":"                          sort_keys:ty.List[str],"},{"line_number":849,"context_line":"                          sort_dirs:ty.List[str]) -\u003e list:"},{"line_number":850,"context_line":"    \"\"\"Paginate a list of entries."}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ee372be2","line":847,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":845,"context_line":"                          marker:ty.Optional[ty.Union[dict, str]],"},{"line_number":846,"context_line":"                          limit:int,"},{"line_number":847,"context_line":"                          offset:int,"},{"line_number":848,"context_line":"                          sort_keys:ty.List[str],"},{"line_number":849,"context_line":"                          sort_dirs:ty.List[str]) -\u003e list:"},{"line_number":850,"context_line":"    \"\"\"Paginate a list of entries."},{"line_number":851,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_4e33b7f6","line":848,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":846,"context_line":"                          limit:int,"},{"line_number":847,"context_line":"                          offset:int,"},{"line_number":848,"context_line":"                          sort_keys:ty.List[str],"},{"line_number":849,"context_line":"                          sort_dirs:ty.List[str]) -\u003e list:"},{"line_number":850,"context_line":"    \"\"\"Paginate a list of entries."},{"line_number":851,"context_line":""},{"line_number":852,"context_line":"    :param entries: list of dictionaries"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_2e2e438b","line":849,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":979,"context_line":"            pass"},{"line_number":980,"context_line":""},{"line_number":981,"context_line":""},{"line_number":982,"context_line":"def clone_encryption_key(context:context.RequestContext,"},{"line_number":983,"context_line":"                         key_manager,"},{"line_number":984,"context_line":"                         encryption_key_id:str) -\u003e str:"},{"line_number":985,"context_line":"    clone_key_id \u003d None"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_8e4e6f6c","line":982,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":981,"context_line":""},{"line_number":982,"context_line":"def clone_encryption_key(context:context.RequestContext,"},{"line_number":983,"context_line":"                         key_manager,"},{"line_number":984,"context_line":"                         encryption_key_id:str) -\u003e str:"},{"line_number":985,"context_line":"    clone_key_id \u003d None"},{"line_number":986,"context_line":"    if encryption_key_id is not None:"},{"line_number":987,"context_line":"        clone_key_id \u003d key_manager.store("}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_6e515b0e","line":984,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":990,"context_line":"    return clone_key_id"},{"line_number":991,"context_line":""},{"line_number":992,"context_line":""},{"line_number":993,"context_line":"def is_boolean_str(str:str) -\u003e bool:"},{"line_number":994,"context_line":"    spec \u003d (str or \u0027\u0027).split()"},{"line_number":995,"context_line":"    return (len(spec) \u003d\u003d 2 and"},{"line_number":996,"context_line":"            spec[0] \u003d\u003d \u0027\u003cis\u003e\u0027 and strutils.bool_from_string(spec[1]))"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ce54e700","line":993,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":1024,"context_line":"    return False"},{"line_number":1025,"context_line":""},{"line_number":1026,"context_line":""},{"line_number":1027,"context_line":"def is_group_a_type(group:objects.Group, key:str) -\u003e bool:"},{"line_number":1028,"context_line":"    if group.group_type_id is not None:"},{"line_number":1029,"context_line":"        spec \u003d group_types.get_group_type_specs("},{"line_number":1030,"context_line":"            group.group_type_id, key\u003dkey"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_0e425f3e","line":1027,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":1024,"context_line":"    return False"},{"line_number":1025,"context_line":""},{"line_number":1026,"context_line":""},{"line_number":1027,"context_line":"def is_group_a_type(group:objects.Group, key:str) -\u003e bool:"},{"line_number":1028,"context_line":"    if group.group_type_id is not None:"},{"line_number":1029,"context_line":"        spec \u003d group_types.get_group_type_specs("},{"line_number":1030,"context_line":"            group.group_type_id, key\u003dkey"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ae57f300","line":1027,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":1075,"context_line":"    return i_t_map"},{"line_number":1076,"context_line":""},{"line_number":1077,"context_line":""},{"line_number":1078,"context_line":"def check_image_metadata(image_meta:dict, vol_size:int) -\u003e None:"},{"line_number":1079,"context_line":"    \"\"\"Validates the image metadata.\"\"\""},{"line_number":1080,"context_line":"    # Check whether image is active"},{"line_number":1081,"context_line":"    if image_meta[\u0027status\u0027] !\u003d \u0027active\u0027:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_4e48d75a","line":1078,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":1075,"context_line":"    return i_t_map"},{"line_number":1076,"context_line":""},{"line_number":1077,"context_line":""},{"line_number":1078,"context_line":"def check_image_metadata(image_meta:dict, vol_size:int) -\u003e None:"},{"line_number":1079,"context_line":"    \"\"\"Validates the image metadata.\"\"\""},{"line_number":1080,"context_line":"    # Check whether image is active"},{"line_number":1081,"context_line":"    if image_meta[\u0027status\u0027] !\u003d \u0027active\u0027:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ee3c4bc0","line":1078,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":1101,"context_line":"        raise exception.InvalidInput(reason\u003dmsg)"},{"line_number":1102,"context_line":""},{"line_number":1103,"context_line":""},{"line_number":1104,"context_line":"def enable_bootable_flag(volume:objects.Volume) -\u003e None:"},{"line_number":1105,"context_line":"    try:"},{"line_number":1106,"context_line":"        LOG.debug(\u0027Marking volume %s as bootable.\u0027, volume.id)"},{"line_number":1107,"context_line":"        volume.bootable \u003d True"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_2e43e340","line":1104,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":1208,"context_line":"    return tmpdir"},{"line_number":1209,"context_line":""},{"line_number":1210,"context_line":""},{"line_number":1211,"context_line":"def check_encryption_provider(db, volume:objects.Volume, context:context.RequestContext) -\u003e dict:"},{"line_number":1212,"context_line":"    \"\"\"Check that this is a LUKS encryption provider."},{"line_number":1213,"context_line":""},{"line_number":1214,"context_line":"    :returns: encryption dict"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_6e7afb87","line":1211,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":1208,"context_line":"    return tmpdir"},{"line_number":1209,"context_line":""},{"line_number":1210,"context_line":""},{"line_number":1211,"context_line":"def check_encryption_provider(db, volume:objects.Volume, context:context.RequestContext) -\u003e dict:"},{"line_number":1212,"context_line":"    \"\"\"Check that this is a LUKS encryption provider."},{"line_number":1213,"context_line":""},{"line_number":1214,"context_line":"    :returns: encryption dict"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_8e778fa0","line":1211,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":1208,"context_line":"    return tmpdir"},{"line_number":1209,"context_line":""},{"line_number":1210,"context_line":""},{"line_number":1211,"context_line":"def check_encryption_provider(db, volume:objects.Volume, context:context.RequestContext) -\u003e dict:"},{"line_number":1212,"context_line":"    \"\"\"Check that this is a LUKS encryption provider."},{"line_number":1213,"context_line":""},{"line_number":1214,"context_line":"    :returns: encryption dict"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ce6d07cd","line":1211,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E501 line too long (97 \u003e 79 characters)","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"2b093799b10cba31c45686d6ee300554620acedf","unresolved":false,"context_lines":[{"line_number":1278,"context_line":""},{"line_number":1279,"context_line":"# TODO (whoami-rajat): Remove this method when oslo.vmware calls volume_utils"},{"line_number":1280,"context_line":"#  wrapper of upload_volume instead of image_utils.upload_volume"},{"line_number":1281,"context_line":"def get_base_image_ref(volume:objects.Volume):"},{"line_number":1282,"context_line":"    # This method fetches the image_id from volume glance metadata and pass"},{"line_number":1283,"context_line":"    # it to the driver calling it during upload volume to image operation"},{"line_number":1284,"context_line":"    base_image_ref \u003d None"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_ae7093a5","line":1281,"updated":"2020-06-04 17:51:37.000000000","message":"pep8: E231 missing whitespace after \u0027:\u0027","commit_id":"0748e149670b3af65a19e78a433571bb199fdfc5"}]}
