Module ro_py.bases.baseasset

Expand source code
class BaseAsset:
    def __init__(self):
        self.id = None
        self.cso = None

    async def to_asset(self):
        return await self.cso.client.get_asset(self.id)

Classes

class BaseAsset
Expand source code
class BaseAsset:
    def __init__(self):
        self.id = None
        self.cso = None

    async def to_asset(self):
        return await self.cso.client.get_asset(self.id)

Subclasses

Methods

async def to_asset(self)
Expand source code
async def to_asset(self):
    return await self.cso.client.get_asset(self.id)