ebay = ebay['Custom Label (SKU)'].str.contains('a', case=False)
def find_determinant(self):
self.__print_matrice__(super().find_determinant(*self.__create_matrice__()))
moder = None
@client.command()
async def _init_( ctx ):
global moder
embed = discord.Embed(
title = 'Это мой заголовок',
description = 'Это мой основной текст',
color = 0x83c837
)
moder = await ctx.send(
embed = embed
)
@client.command()
async def test( ctx ):
await ctx.send(
moder
)
@register.simple_tag
def get_brand():
'''
set brand name instead of 'Главная' in the navbar
'''
try:
user_profile = UserProfile.objects.get(user_id=1)
except UserProfile.DoesNotExist:
user_profile = UserProfile.objects.create(user_id=1)
return user_profile.brand
get_or_create
requests.post('https://httpbin.org/post', files={'param_1': (None, 'param 1 value'), 'param_2': (None, 'param 2 value')})
Как прикрепить файл описано тут