Carlos Ramos Carreño

Results 89 comments of Carlos Ramos Carreño

No, my code IS a library. Given an observer and some ids, it needs to recover the results.

Just to let you know, my actual, totally a hack solution to this problem is [here](https://github.com/daviddiazvico/scikit-datasets/blob/be4873e7dc253870ef6eab9844ec3bd1fd2a81c4/skdatasets/utils/experiment.py#L652-L663): ```python elif isinstance(storage, MongoObserver): database = storage.runs.database client = database.client url, port = list(...

Strange, the webpage loads for me. It is http://gael-varoquaux.info/programming/decoration-in-python-done-right-decorating-and-pickling.html from one of the lead scikit-learn developers.

> Strange, the link you just posted doesn't work for me either. Are you sure your browser didn't cache it? I just tried in my phone, and it works as...

May I ask why `wrapt` is needed at all?

I think that if you used `@wraps` in all the decorators, you just have to follow the `__wrapped__` objects to get the original function/method and inspect it. In fact some...

Ok, so for checking parameters you have to inspect the `__wrapped__` function, which `signature` already does by default, and for `ismethod` we need to pass the decorated object. Thus, both...

This is my first try to implement multiline (in a custom widget): ```python from typing import List, Optional import pygame from pygame.rect import Rect from pygame_menu._types import EventVectorType from pygame_menu.utils...

> What are you refering to get the right width? `max(self._font.size(line)[0] for line in lines),` do not work? I meant that using `self._menu.get_width(inner=True)` overestimates the available space.

> You can also create a new PR :). A new widget requires a manager (for menu.add) and lots of new tests. I think that at least multiline support could...