Telegram Group & Telegram Channel
آیوکلاک (AioClock) یک فریم ورک برای scheduling و یا تسک منیجمنت هست و هر چیزی که هر فریم ورکی نیاز داره رو داخلش داره, مثل دپندسی اینجکشن و startup/stop ایونت, ساپورت از ماژولار کد نوشتن و ...



from aioclock import AioClock, At
import asyncio

app = AioClock()

@app.task(trigger=At(tz="UTC", hour=0, minute=0, second=0))
async def at():
print("This code runs at 0 AM UTC time everyday!")

if __name__ == "__main__":
asyncio.run(app.serve())



دیشب وقت گذاشتم و داکیونتشو خیلی بهتر کردم که کاملا متوجه شید فریم ورک چطوری کار میکنه. تو عکس واضح نیست کامل توصیه میکنم سری به داکیومنت بزنید.

داکیومنت
گیتهاب

اگه این لایبری براتون مفید بود، خوشحال می‌شم اگه بهش استار بدید. این کار به من انگیزه بیشتری برای توسعه و بهبود فریم‌ورک میده. از حمایت‌تون خیلی ممنونم 🙂 🙏


〰️〰️〰️〰️〰️〰️
© @DjangoEx | @PyBackendHub



tg-me.com/djangoex/2533
Create:
Last Update:

آیوکلاک (AioClock) یک فریم ورک برای scheduling و یا تسک منیجمنت هست و هر چیزی که هر فریم ورکی نیاز داره رو داخلش داره, مثل دپندسی اینجکشن و startup/stop ایونت, ساپورت از ماژولار کد نوشتن و ...



from aioclock import AioClock, At
import asyncio

app = AioClock()

@app.task(trigger=At(tz="UTC", hour=0, minute=0, second=0))
async def at():
print("This code runs at 0 AM UTC time everyday!")

if __name__ == "__main__":
asyncio.run(app.serve())



دیشب وقت گذاشتم و داکیونتشو خیلی بهتر کردم که کاملا متوجه شید فریم ورک چطوری کار میکنه. تو عکس واضح نیست کامل توصیه میکنم سری به داکیومنت بزنید.

داکیومنت
گیتهاب

اگه این لایبری براتون مفید بود، خوشحال می‌شم اگه بهش استار بدید. این کار به من انگیزه بیشتری برای توسعه و بهبود فریم‌ورک میده. از حمایت‌تون خیلی ممنونم 🙂 🙏


〰️〰️〰️〰️〰️〰️
© @DjangoEx | @PyBackendHub

BY Django Expert




Share with your friend now:
tg-me.com/djangoex/2533

View MORE
Open in Telegram


Django Expert Telegram | DID YOU KNOW?

Date: |

What is Secret Chats of Telegram

Secret Chats are one of the service’s additional security features; it allows messages to be sent with client-to-client encryption. This setup means that, unlike regular messages, these secret messages can only be accessed from the device’s that initiated and accepted the chat. Additionally, Telegram notes that secret chats leave no trace on the company’s services and offer a self-destruct timer.

Telegram hopes to raise $1bn with a convertible bond private placement

The super secure UAE-based Telegram messenger service, developed by Russian-born software icon Pavel Durov, is looking to raise $1bn through a bond placement to a limited number of investors from Russia, Europe, Asia and the Middle East, the Kommersant daily reported citing unnamed sources on February 18, 2021.The issue reportedly comprises exchange bonds that could be converted into equity in the messaging service that is currently 100% owned by Durov and his brother Nikolai.Kommersant reports that the price of the conversion would be at a 10% discount to a potential IPO should it happen within five years.The minimum bond placement is said to be set at $50mn, but could be lowered to $10mn. Five-year bonds could carry an annual coupon of 7-8%.

Django Expert from us


Telegram Django Expert
FROM USA