A simple library that help you dump and load SQLModel with Relationship
I use Github Coplilot for debugging :D
A simple library that help you dump and load SQLModel with Relationship
I use Github Coplilot for debugging :D
I have fixed a few bugs according to Copilot:
)attr_to_key to Serializer in Redis clientset_kwargs to set commandid field in a model, used to create reference key, which is replaced with attr_to_key and key_factory.None)Atfer all, I think I need to sleep more because my brain is not braining now 
Log in to leave a comment
This is a simple library to dump and load the SQLModel object.
It uses seen and reference mechanism to refer the relationship. It also support Redis as the reference manager.
But the biggest disadvantage is it require a garbage collector to get rid of the “too old” reference.
I hope you will enjoy this project.
I have fixed a few bugs related to Redis client. I also split the async function into separate class so it can run smoothly 
Log in to leave a comment
I added attr_to_key as another way to modify the reference key 
Log in to leave a comment
I wrote the Readme and created to pipeline for release 
Log in to leave a comment
I added Redis support, now it will push and pull the data directly to the Redis 
Log in to leave a comment
I added self_ref mode 
In this mode, instead of storing reference in a separate place, now it will be stored in itself. This could help in managing obj but will increase the size of the output ![]()
Log in to leave a comment
The deserializer is done 
Log in to leave a comment
I have completed the Serializer part.
It handle Relationship by using reference. If it is not mentioned before, stores it into an object, if so, reference to it :D
It also help deserialize object by storing object class so it can reconstruct the object 
Log in to leave a comment