der-joel

Results 13 comments of der-joel

I haven't had the time to test this yet but I think you could archieve this by using marshmallows pre_dump-decorator. Code-Example: ```python from marshmallow import Schema from marshmallow.fields import String...

I solved this issue by monkey patching `PaginationMixin.paginate` and `_pagination_parameters_schema_factory`. The `force`-Parameter of `Blueprint.paginate()` defaults to `True` (no changes in the behaviour). If `False` is passed and neither `page` nor...

I ran into the same issue. A function is needed when the same converter is used for multiple schemas. E.g. an `ObjectIdConverter` taking an uuid and converting it to a...

The suggested solution only changes the argument doc. The url seems to be unchanged (should be "{id}" instead of "{pet}"): ![issue120 bug](https://user-images.githubusercontent.com/65663348/134001543-0daf4610-5359-4b74-b201-f728f7e8bd98.png) I've come up with a solution for this...

A possibility to update the `type_map` used in utils.py or provide a custom one would be sufficient. For Example: ``` from flask_restx.fields import String from flask_accepts.utils import type_map_base type_map =...

Using `null=True` will save `null` in the database if no value (`None`) was given. To allow empty strings override the URL-Regex (see [docs](https://docs.mongoengine.org/apireference.html#mongoengine.fields.URLField)).

After reading this, it seems like the `null`-Parameter could be removed if `Field(default=None)` is changed to behave like `Field(null=True)`. Maybe this behaviour is more intuitive.

Using the example configuration from the [docs](https://docs.celeryq.dev/en/latest/userguide/routing.html#redis-message-priorities) also seems to break worker inspection. Can anyone provide a working example for priority-based task queues using redis? Code: ```python3 # init celery...

I extended @Jean-PhilippeD's approach (see #77) to solve this: ```python3 class MongodbScheduleEntry(ScheduleEntry): """Schedule entry that does not update total_run_count, last_run_at and run_immediately during save""" def save(self): """Save changes""" try: self._task.save(save_condition={})...

Thanks for your response. Does this mean celery workers can not be started from a child process created via `multiprocessing.Process`? If yes what would be the intended way to start...