YPCrumble

Results 66 comments of YPCrumble

@sobolevn thank you for your suggestion, and thank you for your patience! Here's the code you provided: ``` from typing_extensions import Protocol class DjangoModelProtocol(Protocol): id: int def say_something(self) -> None:...

@christianbundy thank you for your suggestion! How would I add the `id` attribute to `TModel` in your suggestion? When I try this I get `"TModel" has no attribute "id"` -...

I'm getting the same error in my tests - it seems that `self.client` is typed as `django.test.client.Client` in my tests, instead of the expected `APIClient`, even though my test class...

I'm currently trying to use the `retry` function created by @ValentinH to wrap my `import` statements as follows: ``` const SomeComponent = loadable(() => retry(() => import('./SomeComponent'))) ``` The code...

@ValentinH worked perfectly, thank you @ValentinH !!!

This issue appears to be back with a slightly different error stack as referenced here: https://github.com/easymotion/vim-easymotion/issues/484

The issue only happens the first time the cache is set for an endpoint, because otherwise Request B wouldn't be updating the cache at the same time as Request A....

@HoneyryderChuck I think your feedback is spot on. For some context this got bumped because it was an example I mentioned in a comment I left on HN for @dcramer...

@charettes thanks again for this great project. Would this issue also encompass a situation where I have a single object instance and want to get a related table, i.e., ```...

@maparent do you think this adjustment would make the library better at identifying really short strings like "To Kill a Mockingbird", which gets detected as English ~95% of the time...