AttributeError: 'TlzSpec' object has no attribute '_uninitialized_submodules'
related to pytoolz/toolz#528
go to [...]\.venv\Lib\site-packages\tlz\_build_tlz.py
override with
AttributeError: 'TlzSpec' object has no attribute '_uninitialized_submodules'
related to pytoolz/toolz#528
go to [...]\.venv\Lib\site-packages\tlz\_build_tlz.py
override with
from fastapi import Depends | |
from fastapi.dependencies.models import Dependant | |
from fastapi.dependencies.utils import solve_dependencies, get_dependant, get_parameterless_sub_dependant | |
import asyncio | |
def resolve_dependency(cls: Type): | |
dependant = get_dependant(path="", call=cls) | |
dependencies = [ | |
Depends(cls) | |
] |
import unittest | |
# pagal https://gist.github.com/evaqas/63fa204e3a1f0019bce2 | |
def skaicius_zodziais(skaicius): | |
skaicius = int(skaicius) | |
# neskaiciuosim neigiamu ir itin dideliu skaiciu (iki milijardu) | |
if skaicius < 0 or skaicius >= 10 ** 9: return |
from torch_baidu_ctc import ctc_loss | |
class CTCLossT(nn.Module): | |
def __init__(self): | |
super(CTCLossT, self).__init__() | |
self.blank = 0 | |
self.reduction = 'sum' | |
def forward(self, log_probs, targets): | |
#log_probs = log_probs.cpu() |
import glob | |
import json | |
import os | |
import re | |
import shutil | |
import subprocess | |
import zipfile | |
from contextlib import contextmanager | |
from tempfile import TemporaryDirectory |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRole | |
metadata: | |
annotations: | |
rbac.authorization.kubernetes.io/autoupdate: "true" | |
labels: | |
kubernetes.io/bootstrapping: rbac-defaults | |
name: system:kube-apiserver-to-kubelet | |
rules: | |
- apiGroups: |
http://aboobacker.in/feed.xml | |
http://blog.alex-miller.co/feed.xml | |
http://blog.appsignal.com/feed.xml | |
http://blog.bowmanmike.com/feed.xml | |
http://blog.michelada.io/atom.xml | |
http://blog.sundaycoding.com/atom.xml | |
http://brandonhilkert.com/atom.xml | |
http://devonestes.herokuapp.com/rss | |
http://engineering.appfolio.com/appfolio-engineering?format=RSS | |
http://feed.olivierlacan.com |
http://ardalis.com/feed | |
http://atrauzzi.blogspot.com/feeds/posts/default | |
http://bart-sokol.info//rss.xml | |
http://benfoster.io/blog/feed | |
http://bitoftech.net/feed | |
http://blog.devbot.net/feed.xml | |
http://blog.gaxion.com/feeds/posts/default | |
http://blog.nuget.org/feeds/atom.xml | |
http://blog.somewhatabstract.com/feed | |
http://cecilphillip.com/rss |
http://andrewhfarmer.com/rss.xml | |
http://angularjs.blogspot.com/feeds/posts/default | |
http://browniefed.com/atom.xml | |
http://engineering.kapost.com/feed | |
http://ericlathrop.com/feed | |
http://feeds.feedburner.com/TheCodeDump | |
http://javascriptplayground.com/feed | |
http://jilles.me/rss | |
http://news.dartlang.org/feeds/posts/default | |
http://patriciopalladino.com/feed.xml |
https://home-assistant.io/atom.xml | |
https://engineering.hellofresh.com/feed | |
http://hundredminutehack.blogspot.com/feeds/posts/default | |
http://rightfootin.blogspot.com/feeds/posts/default | |
https://devblogs.nvidia.com/parallelforall/feed | |
http://www.androidxu.com/feeds/posts/default | |
http://journalpanic.com/index.xml | |
http://robbygrodin.com/feed | |
https://snarky.ca/rss | |
https://www.ossblog.org/feed |