Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
class GetByIdModel(BaseModel):
response: GetById = None
class GetCategories(BaseModel):
count: int = None
items: typing.List[objects.market.MarketCategory] = None
class GetCategoriesModel(BaseModel):
response: GetCategories = None
class GetComments(BaseModel):
count: int = None
items: typing.List[objects.wall.WallComment] = None
profiles: typing.List[objects.users.User] = None
class GetCommentsModel(BaseModel):
response: GetComments = None
class Get(BaseModel):
count: int = None
items: typing.List[objects.market.MarketItem] = None
class GetModel(BaseModel):
response: Get = None
message: objects.friends.RequestsXtrMessage = None
class GetRequests(BaseModel):
count: int = None
items: typing.List[FriendRequest] = None
count_unread: int = None
class GetRequestsModel(BaseModel):
response: GetRequests = None
class GetSuggestions(BaseModel):
count: int = None
items: typing.List[objects.users.User] = None
class GetSuggestionsModel(BaseModel):
response: GetSuggestions = None
class Get(BaseModel):
count: int = None
items: typing.List[objects.users.User] = None
class GetModel(BaseModel):
response: Get = None
from vkbottle.types import objects
class Search(BaseModel):
total_count: int = None
count: int = None
next_from: str = None
items: typing.List[objects.wall.Wallpost] = None
class SearchModel(BaseModel):
response: Search = None
class GetBanned(BaseModel):
groups: typing.List[objects.groups.Group] = None
members: typing.List[objects.users.User] = None
profiles: typing.List[objects.users.User] = None
class GetBannedModel(BaseModel):
response: GetBanned = None
class GetComments(BaseModel):
items: typing.List[objects.wall.Wallpost] = None
profiles: typing.List[objects.users.User] = None
groups: typing.List[objects.groups.Group] = None
next_from: str = None
class GetCommentsModel(BaseModel):
from ..base import BaseModel
from vkbottle.types import objects
GetUploadServer = objects.base.UploadServer
class GetUploadServerModel(BaseModel):
response: GetUploadServer = None
Bool = objects.base.BoolInt
class BoolModel(BaseModel):
response: Bool = None
class GetTypesModel(BaseModel):
response: GetTypes = None
class Get(BaseModel):
count: int = None
items: typing.List[objects.docs.Doc] = None
class GetModel(BaseModel):
response: Get = None
class Save(BaseModel):
type: objects.docs.DocAttachmentType = None
audio_message: objects.messages.AudioMessage = None
doc: objects.docs.Doc = None
graffiti: objects.messages.Graffiti = None
class SaveModel(BaseModel):
response: Save = None
import typing
from ..base import BaseModel
from vkbottle.types import objects
ResolveScreenName = objects.utils.DomainResolved
class ResolveScreenNameModel(BaseModel):
response: ResolveScreenName = None
CheckLink = objects.utils.LinkChecked
class CheckLinkModel(BaseModel):
response: CheckLink = None
class GetLastShortenedLinks(BaseModel):
count: int = None
items: typing.List[objects.utils.LastShortenedLink] = None
Add = typing.Dict
class AddModel(BaseModel):
response: Add = None
CreateComment = typing.Dict
class CreateCommentModel(BaseModel):
response: CreateComment = None
GetById = objects.notes.Note
class GetByIdModel(BaseModel):
response: GetById = None
class GetComments(BaseModel):
count: int = None
items: typing.List = None
class GetCommentsModel(BaseModel):
response: GetComments = None
from ..base import BaseModel
from vkbottle.types import objects
class Upload(BaseModel):
story: objects.stories.Story = None
class UploadModel(BaseModel):
response: Upload = None
class GetBanned(BaseModel):
count: int = None
profiles: typing.List[objects.users.User] = None
groups: typing.List[objects.groups.Group] = None
class GetBannedModel(BaseModel):
response: GetBanned = None
class GetById(BaseModel):
count: int = None
items: typing.List[objects.stories.Story] = None
class GetByIdModel(BaseModel):
response: GetById = None
class GetPhotoUploadServer(BaseModel):
class ResolveScreenNameModel(BaseModel):
response: ResolveScreenName = None
CheckLink = objects.utils.LinkChecked
class CheckLinkModel(BaseModel):
response: CheckLink = None
class GetLastShortenedLinks(BaseModel):
count: int = None
items: typing.List[objects.utils.LastShortenedLink] = None
class GetLastShortenedLinksModel(BaseModel):
response: GetLastShortenedLinks = None
GetLinkStats = objects.utils.LinkStats
class GetLinkStatsModel(BaseModel):
response: GetLinkStats = None
GetServerTime = typing.Dict
import typing
from ..base import BaseModel
from vkbottle.types import objects
UpdateSubscription = objects.base.BoolInt
class UpdateSubscriptionModel(BaseModel):
response: UpdateSubscription = None
CancelSubscription = objects.base.BoolInt
class CancelSubscriptionModel(BaseModel):
response: CancelSubscription = None
ChangeState = typing.Dict