You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that Pony doesn't explicitly support that type for attributes in an entity. However, I think I can easily work around it by specifying str instead and also using the py_check attribute option to enforce that the value is really an IP address.
Is this a reasonable solution, or am I missing some obvious potential problem?
The text was updated successfully, but these errors were encountered:
I've got a PostgreSQL-16 database that has a table that is uses the
inet
data type ( https://www.postgresql.org/docs/current/datatype-net-types.html#DATATYPE-INET ).I see that Pony doesn't explicitly support that type for attributes in an entity. However, I think I can easily work around it by specifying
str
instead and also using thepy_check
attribute option to enforce that the value is really an IP address.Is this a reasonable solution, or am I missing some obvious potential problem?
The text was updated successfully, but these errors were encountered: