Commit Graph

856 Commits

Author SHA1 Message Date
Salvo 'LtWorf' Tomaselli
4d81858c8b
Make Rdate into something typedload can handle 2020-08-24 18:02:11 +02:00
Salvo 'LtWorf' Tomaselli
c4bc74d612
Add a new json format 2020-08-24 18:02:11 +02:00
Salvo 'LtWorf' Tomaselli
2e5d18f418
Switch to dataclass
NamedTuple has some bug that makes dumping broken
2020-08-24 18:02:11 +02:00
Salvo 'LtWorf' Tomaselli
ff9f0c10b6
Do not crash when editing relations containing None 2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
5869f5d421
Visually show the different types 2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
4c101526e6
Use None instead o a special string 2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
33a2a21617
Fix types 2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
18d6f5ebfb
Remove add and sub from Rdate
They were not symmetrical, better to remove them.
2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
4dc7f131f3
Only use eq 2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
774c8eed67
Compare to anything 2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
b69fd0980b
Do not clash names 2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
b86c0c6a61
Remove leftover print 2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
69f7e83626
Fix printing 2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
90b3163e32
Add the --- token bare 2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
5c8cbde27a
No autocasts needed
All casting is done when loading
2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
7800a157bf
Convert Rdate object to keep working 2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
73aa0dd2a1
New code to guess types 2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
f410b112af
Use the new by column type detection 2020-08-24 18:02:10 +02:00
Salvo 'LtWorf' Tomaselli
5259921bb1
Better error message 2020-08-24 18:02:09 +02:00
Salvo 'LtWorf' Tomaselli
aea763021c
Remove useless new object 2020-08-24 18:02:09 +02:00
Salvo 'LtWorf' Tomaselli
c246c0715d
Remove useless operations 2020-08-24 18:02:09 +02:00
Salvo 'LtWorf' Tomaselli
c61cea7806
Remove unused code 2020-08-24 18:02:09 +02:00
Salvo 'LtWorf' Tomaselli
51f85e6daf
CHANGELOG 2020-08-24 18:02:09 +02:00
Salvo 'LtWorf' Tomaselli
fd645a20c7
Merge pull request #33 from ltworf/readme
Improve readme
2020-08-24 14:42:25 +02:00
Salvo 'LtWorf' Tomaselli
259a7c6497
README.md 2020-08-24 14:38:45 +02:00
Salvo 'LtWorf' Tomaselli
e8abacd005
Merge pull request #32 from ltworf/rename_command
Change the command name
2020-08-24 10:48:47 +02:00
Salvo 'LtWorf' Tomaselli
f892a9e162
Update copyright 2020-08-24 10:41:50 +02:00
Salvo 'LtWorf' Tomaselli
8fd1384574
Copy also cli package 2020-08-24 10:40:01 +02:00
Salvo 'LtWorf' Tomaselli
26115245c2
Clean deb-pkg directory 2020-08-24 10:29:28 +02:00
Salvo 'LtWorf' Tomaselli
a505fabefb
Rename launch command 2020-08-24 10:26:41 +02:00
Salvo 'LtWorf' Tomaselli
7a43071faf
Merge pull request #30 from ltworf/fixes
CLI fix
2020-08-15 21:36:34 +02:00
Salvo 'LtWorf' Tomaselli
b43db451e5
Don't feel like writing stubs 2020-08-15 21:25:35 +02:00
Salvo 'LtWorf' Tomaselli
7e3c4d3ff9
Make mypy happy 2020-08-15 21:25:35 +02:00
Salvo 'LtWorf' Tomaselli
36e312ba7b
Use new API in cli 2020-08-15 21:25:35 +02:00
Salvo 'LtWorf' Tomaselli
a67ec498c2
Check cli module 2020-08-15 21:25:35 +02:00
Salvo 'LtWorf' Tomaselli
ccfdff6fd3
Use fstrings 2020-08-15 21:25:35 +02:00
Salvo 'LtWorf' Tomaselli
ef28b7272e
Merge pull request #29 from ltworf/frozen_relation
Frozen relations
2020-08-15 21:12:23 +02:00
Salvo 'LtWorf' Tomaselli
200c748ee5
Use new API to edit relations 2020-08-15 21:06:57 +02:00
Salvo 'LtWorf' Tomaselli
1bbef1f1b8
function to load a relation from iterators 2020-08-15 20:54:58 +02:00
Salvo 'LtWorf' Tomaselli
94404f60f9
Test the load function 2020-08-15 20:53:46 +02:00
Salvo 'LtWorf' Tomaselli
519cc35b18
Use lists for partial content
So conversion to set is done only once.
2020-08-15 09:17:23 +02:00
Salvo 'LtWorf' Tomaselli
683ff6f26d
Better typing 2020-08-13 14:38:42 +02:00
Salvo 'LtWorf' Tomaselli
08e5131479
Removed update/insert/delete
I don't use them and AFAIK this module has no other users
2020-08-13 14:37:55 +02:00
Salvo 'LtWorf' Tomaselli
4722c9b0e8
Relations are now frozen 2020-08-13 14:34:57 +02:00
Salvo 'LtWorf' Tomaselli
87ec732d24
Use the new API 2020-08-13 14:34:57 +02:00
Salvo 'LtWorf' Tomaselli
be9fdd2e84
Make relation immutable 2020-08-13 14:34:54 +02:00
Salvo 'LtWorf' Tomaselli
76509e249b
codeql
I don't think it does anything at all but meh…
2020-08-13 14:34:00 +02:00
Salvo 'LtWorf' Tomaselli
b6f902c5a6
Merge pull request #28 from ltworf/compatibility
Remove backwards compatibility stuff
2020-08-13 14:31:20 +02:00
Salvo 'LtWorf' Tomaselli
0a06034c9f
Fix cli 2020-08-13 10:20:29 +02:00
Salvo 'LtWorf' Tomaselli
456a89be93
Remove backwards compatibility 2020-08-13 10:20:29 +02:00