Restyled by autopep8

This commit is contained in:
Restyled.io
2021-05-22 01:26:14 +00:00
parent 8f920a783b
commit 58e8ba2347
22 changed files with 126 additions and 224 deletions

View File

@@ -2,6 +2,7 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: canvaz.proto
"""Generated protocol buffer code."""
import CanvazMeta as canvaz__meta__pb2
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -10,7 +11,6 @@ from google.protobuf import symbol_database as _symbol_database
_sym_db = _symbol_database.Default()
import CanvazMeta as canvaz__meta__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='canvaz.proto',
@@ -18,8 +18,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
syntax='proto3',
serialized_options=b'\n\022com.spotify.canvazH\002',
create_key=_descriptor._internal_create_key,
serialized_pb=
b'\n\x0c\x63\x61nvaz.proto\x12\x17\x63om.spotify.canvazcache\x1a\x11\x63\x61nvaz-meta.proto\"3\n\x06\x41rtist\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06\x61vatar\x18\x03 \x01(\t\"\xe1\x02\n\x14\x45ntityCanvazResponse\x12\x46\n\x08\x63\x61nvases\x18\x01 \x03(\x0b\x32\x34.com.spotify.canvazcache.EntityCanvazResponse.Canvaz\x12\x16\n\x0ettl_in_seconds\x18\x02 \x01(\x03\x1a\xe8\x01\n\x06\x43\x61nvaz\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x0f\n\x07\x66ile_id\x18\x03 \x01(\t\x12&\n\x04type\x18\x04 \x01(\x0e\x32\x18.com.spotify.canvaz.Type\x12\x12\n\nentity_uri\x18\x05 \x01(\t\x12/\n\x06\x61rtist\x18\x06 \x01(\x0b\x32\x1f.com.spotify.canvazcache.Artist\x12\x10\n\x08\x65xplicit\x18\x07 \x01(\x08\x12\x13\n\x0buploaded_by\x18\x08 \x01(\t\x12\x0c\n\x04\x65tag\x18\t \x01(\t\x12\x12\n\ncanvas_uri\x18\x0b \x01(\t\"\x88\x01\n\x13\x45ntityCanvazRequest\x12\x45\n\x08\x65ntities\x18\x01 \x03(\x0b\x32\x33.com.spotify.canvazcache.EntityCanvazRequest.Entity\x1a*\n\x06\x45ntity\x12\x12\n\nentity_uri\x18\x01 \x01(\t\x12\x0c\n\x04\x65tag\x18\x02 \x01(\tB\x16\n\x12\x63om.spotify.canvazH\x02\x62\x06proto3',
serialized_pb=b'\n\x0c\x63\x61nvaz.proto\x12\x17\x63om.spotify.canvazcache\x1a\x11\x63\x61nvaz-meta.proto\"3\n\x06\x41rtist\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06\x61vatar\x18\x03 \x01(\t\"\xe1\x02\n\x14\x45ntityCanvazResponse\x12\x46\n\x08\x63\x61nvases\x18\x01 \x03(\x0b\x32\x34.com.spotify.canvazcache.EntityCanvazResponse.Canvaz\x12\x16\n\x0ettl_in_seconds\x18\x02 \x01(\x03\x1a\xe8\x01\n\x06\x43\x61nvaz\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x0f\n\x07\x66ile_id\x18\x03 \x01(\t\x12&\n\x04type\x18\x04 \x01(\x0e\x32\x18.com.spotify.canvaz.Type\x12\x12\n\nentity_uri\x18\x05 \x01(\t\x12/\n\x06\x61rtist\x18\x06 \x01(\x0b\x32\x1f.com.spotify.canvazcache.Artist\x12\x10\n\x08\x65xplicit\x18\x07 \x01(\x08\x12\x13\n\x0buploaded_by\x18\x08 \x01(\t\x12\x0c\n\x04\x65tag\x18\t \x01(\t\x12\x12\n\ncanvas_uri\x18\x0b \x01(\t\"\x88\x01\n\x13\x45ntityCanvazRequest\x12\x45\n\x08\x65ntities\x18\x01 \x03(\x0b\x32\x33.com.spotify.canvazcache.EntityCanvazRequest.Entity\x1a*\n\x06\x45ntity\x12\x12\n\nentity_uri\x18\x01 \x01(\t\x12\x0c\n\x04\x65tag\x18\x02 \x01(\tB\x16\n\x12\x63om.spotify.canvazH\x02\x62\x06proto3',
dependencies=[
canvaz__meta__pb2.DESCRIPTOR,
])
@@ -145,8 +144,7 @@ _ENTITYCANVAZRESPONSE_CANVAZ = _descriptor.Descriptor(
create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='file_id',
full_name=
'com.spotify.canvazcache.EntityCanvazResponse.Canvaz.file_id',
full_name='com.spotify.canvazcache.EntityCanvazResponse.Canvaz.file_id',
index=2,
number=3,
type=9,
@@ -164,8 +162,7 @@ _ENTITYCANVAZRESPONSE_CANVAZ = _descriptor.Descriptor(
create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='type',
full_name=
'com.spotify.canvazcache.EntityCanvazResponse.Canvaz.type',
full_name='com.spotify.canvazcache.EntityCanvazResponse.Canvaz.type',
index=3,
number=4,
type=14,
@@ -183,8 +180,7 @@ _ENTITYCANVAZRESPONSE_CANVAZ = _descriptor.Descriptor(
create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='entity_uri',
full_name=
'com.spotify.canvazcache.EntityCanvazResponse.Canvaz.entity_uri',
full_name='com.spotify.canvazcache.EntityCanvazResponse.Canvaz.entity_uri',
index=4,
number=5,
type=9,
@@ -202,8 +198,7 @@ _ENTITYCANVAZRESPONSE_CANVAZ = _descriptor.Descriptor(
create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='artist',
full_name=
'com.spotify.canvazcache.EntityCanvazResponse.Canvaz.artist',
full_name='com.spotify.canvazcache.EntityCanvazResponse.Canvaz.artist',
index=5,
number=6,
type=11,
@@ -221,8 +216,7 @@ _ENTITYCANVAZRESPONSE_CANVAZ = _descriptor.Descriptor(
create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='explicit',
full_name=
'com.spotify.canvazcache.EntityCanvazResponse.Canvaz.explicit',
full_name='com.spotify.canvazcache.EntityCanvazResponse.Canvaz.explicit',
index=6,
number=7,
type=8,
@@ -240,8 +234,7 @@ _ENTITYCANVAZRESPONSE_CANVAZ = _descriptor.Descriptor(
create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='uploaded_by',
full_name=
'com.spotify.canvazcache.EntityCanvazResponse.Canvaz.uploaded_by',
full_name='com.spotify.canvazcache.EntityCanvazResponse.Canvaz.uploaded_by',
index=7,
number=8,
type=9,
@@ -259,8 +252,7 @@ _ENTITYCANVAZRESPONSE_CANVAZ = _descriptor.Descriptor(
create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='etag',
full_name=
'com.spotify.canvazcache.EntityCanvazResponse.Canvaz.etag',
full_name='com.spotify.canvazcache.EntityCanvazResponse.Canvaz.etag',
index=8,
number=9,
type=9,
@@ -278,8 +270,7 @@ _ENTITYCANVAZRESPONSE_CANVAZ = _descriptor.Descriptor(
create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='canvas_uri',
full_name=
'com.spotify.canvazcache.EntityCanvazResponse.Canvaz.canvas_uri',
full_name='com.spotify.canvazcache.EntityCanvazResponse.Canvaz.canvas_uri',
index=9,
number=11,
type=9,
@@ -336,8 +327,7 @@ _ENTITYCANVAZRESPONSE = _descriptor.Descriptor(
create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='ttl_in_seconds',
full_name=
'com.spotify.canvazcache.EntityCanvazResponse.ttl_in_seconds',
full_name='com.spotify.canvazcache.EntityCanvazResponse.ttl_in_seconds',
index=1,
number=2,
type=3,
@@ -378,8 +368,7 @@ _ENTITYCANVAZREQUEST_ENTITY = _descriptor.Descriptor(
fields=[
_descriptor.FieldDescriptor(
name='entity_uri',
full_name=
'com.spotify.canvazcache.EntityCanvazRequest.Entity.entity_uri',
full_name='com.spotify.canvazcache.EntityCanvazRequest.Entity.entity_uri',
index=0,
number=1,
type=9,