Skip to content

Commit

Permalink
version 1.1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
gdoumenc committed Nov 8, 2024
1 parent 363f636 commit 67f337e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions coworks/extension/jsonapi/fetching.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import contextlib
import typing as t
from collections import defaultdict

import contextlib
import typing as t
from coworks import StrDict
from coworks import StrList
from coworks import StrSet
from coworks import request
from coworks.proxy import nr_url
from jsonapi_pydantic.v1_0 import Link
from jsonapi_pydantic.v1_0 import TopLevel
from pydantic import BaseModel
from pydantic.networks import HttpUrl
from werkzeug.exceptions import UnprocessableEntity
from werkzeug.local import LocalProxy

from coworks import StrDict
from coworks import StrList
from coworks import StrSet
from coworks import request
from coworks.proxy import nr_url
from .query import Pagination

type FilterType = tuple[str, str | None, StrList | None]
Expand All @@ -36,7 +36,7 @@ def __iter__(self):
if values is None:
yield [] if self.value_as_iterator else None

if not isinstance(str, values) and isinstance(str, t.Iterator) and not self.value_as_iterator:
if not self.value_as_iterator and isinstance(values, t.Iterator) and not isinstance(values, str):
yield from ((self.attr, oper, value) for value in values)
else:
yield self.attr, oper, values
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "pdm.backend"

[project]
name = "coworks"
version = "1.1.13"
version = "1.1.14"
description = "CoWorks is a unified compositional microservices framework using Flask/Airflow on AWS serverless technologies."
readme = "README.rst"
requires-python = ">= 3.12"
Expand Down

0 comments on commit 67f337e

Please sign in to comment.