profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/roman-right/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Roman roman-right Germany This is my public github profile

roman-right/beanie 246

Asynchronous Python ODM for MongoDB

roman-right/ice-cream-store 1

Beanie Projections demo project

roman-right/awesome-python 0

A curated list of awesome Python frameworks, libraries, software and resources

roman-right/hash_table 0

Hash table presentation + implementation

push eventroman-right/beanie

Roman Right

commit sha 213c092f5a07c63ba40ff53e9f660a0652d8fbf4

readme update

view details

push time in 5 days

release roman-right/beanie

1.4.0

released time in 5 days

release roman-right/beanie

1.3.0

released time in 5 days

created tagroman-right/beanie

tag1.4.0

Asynchronous Python ODM for MongoDB

created time in 5 days

push eventroman-right/beanie

Roman

commit sha ab2a2b60be48233e66669ca23a4899c110886025

State controller (#114)

view details

push time in 5 days

PR merged roman-right/beanie

State controller
+304 -15

0 comment

17 changed files

roman-right

pr closed time in 5 days

issue closedroman-right/beanie

Add state controller of the Document

The state controller is needed to add the ability to insert only changed fields to the database.

It must be optional.

Users should be able to choose if it is needed or not, as it will use more memory.

If possible, it should create the state on fields changing only

It should not duplicate data without reason. Only if a field was changed, it should create a dump.

Next method or properties should be implemented:

  • save_changes
  • rollback
  • was_changed

closed time in 5 days

roman-right

push eventroman-right/beanie

Roman Right

commit sha 2ee779e0b1f708ccf3c978d054d13ba1fca730dc

version 1.4.0

view details

push time in 5 days

push eventroman-right/beanie

Roman Right

commit sha ea559536dd11e79c168b17a3a1d340ad43eee703

pydantic version ^1.7

view details

push time in 8 days

push eventroman-right/beanie

Roman Right

commit sha cfec58dd58b9279f8b64022be0122862d2bb42d3

pyright checks resolves 133

view details

push time in 8 days

issue openedroman-right/beanie

Rename Collection inner class to Settings

Or come up with a better name

created time in 8 days

PR opened roman-right/beanie

State controller
+281 -9

0 comment

13 changed files

pr created time in 8 days

push eventroman-right/beanie

Roman Right

commit sha a15a56087d8b20731c5591c1f03da2453c9b7d49

Save changes event

view details

push time in 8 days

push eventroman-right/beanie

Roman Right

commit sha d8251fd8104e6dcf87f366dde893ff94ba9aa044

tests

view details

push time in 8 days

create barnchroman-right/beanie

branch : feature/133_state_controller

created branch time in 9 days

issue commentroman-right/beanie

Case insensitive sorting on multiple field

Hey @terravi ,

Thank you for the input. It looks like an important feature. I'll add this to Beanie soon.

terravi

comment created time in 10 days

created tagroman-right/beanie

tag1.3.0

Asynchronous Python ODM for MongoDB

created time in 10 days

push eventroman-right/beanie

Roman

commit sha 9dce2958cdf2da008b13794a62a3134e1b04a22a

Active Record pattern (#112)

view details

push time in 10 days

PR merged roman-right/beanie

Active Record pattern
+271 -9

0 comment

12 changed files

roman-right

pr closed time in 10 days

issue closedroman-right/beanie

Implement Active Record pattern

Active Record pattern allows using callback functions on specific database-related events. It should support pre- and post- events on:

  • Document creation (inserting)
  • Single document replace
  • Single document partial replace (partial replace needs to be implemented here)
  • Single document deletion

Usage:

Users must be able to mark any async or sync method of the document model with the event decorator and specify one or many event types as decorator parameters.

Example:

class Sample(Document):
    number: int
    
    @after_event([Insert, Replace])
    def update_cache(self):
        cache[self.id] = self.number

closed time in 10 days

roman-right

issue openedroman-right/beanie

Add state controller of the Document

The state controller is needed to add the ability to insert only changed fields to the database.

It must be optional.

Users should be able to choose if it is needed or not, as it will use more memory.

If possible, it should create the state on fields changing only

It should not duplicate data without reason. Only if a field was changed, it should create a dump.

Next method or properties should be implemented:

  • save_changes
  • rollback
  • was_changed

created time in 10 days

push eventroman-right/beanie

Roman Right

commit sha e3ade1b109b87954cfb42e29209ffbcff5461957

fix pyright

view details

push time in 10 days

push eventroman-right/beanie

Roman Right

commit sha 06ea544c5aac2d2679ea2c98c6fe08290e4af9e7

version 1.3.0

view details

push time in 10 days

PR opened roman-right/beanie

Active Record pattern
+268 -8

0 comment

11 changed files

pr created time in 10 days

push eventroman-right/beanie

Roman Right

commit sha d62eee14c13f2ffd15006cd6a6aa08e5661f3d2b

version 1.3.0

view details

push time in 10 days

push eventroman-right/beanie

Roman Right

commit sha cb4499d6fe6f7b90ebf4d1fabee67ce9c1c37a7d

main interface

view details

push time in 10 days

push eventroman-right/beanie

Roman Right

commit sha c114266142512afab4b55191631d8089af44ed58

tests

view details

push time in 10 days

create barnchroman-right/beanie

branch : feature/110_active_record

created branch time in 10 days

issue openedroman-right/beanie

Implement Active Record pattern

Active Record pattern allows using callback functions on specific database-related events. It should support pre- and post- events on:

  • Document creation (inserting)
  • Single document replace
  • Single document partial replace (partial replace needs to be implemented here)
  • Single document deletion

Usage:

Users must be able to mark any async or sync method of the document model with the event decorator and specify one or many event types as decorator parameters.

Example:

class Sample(Document):
    number: int
    
    @after_event([Insert, Replace])
    def update_cache(self):
        cache[self.id] = self.number

created time in 11 days

create barnchroman-right/photos

branch : main

created branch time in 12 days