Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Making it possible to add custom options #41

Open
wants to merge 57 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
4f06367
Adding the possiblity for custom options
suhrawardi Apr 15, 2020
bf0dd1b
Hacking in an OData scope
suhrawardi Jun 24, 2020
ac4092d
Made it work for me
suhrawardi Jun 30, 2020
a61e543
Fixing the patch url
suhrawardi Jun 30, 2020
56d0ca8
Added a GET
suhrawardi Jul 1, 2020
cd2217d
returning the shit
suhrawardi Jul 1, 2020
70b99c2
Removed clutter
suhrawardi Jul 1, 2020
f527309
Fixing a case
suhrawardi Jul 2, 2020
ac10d5c
Make it persisted if it has an id already
suhrawardi Jul 14, 2020
870cdfd
Proper persisting
suhrawardi Jul 14, 2020
29caf3e
Caching metadata
suhrawardi Jul 20, 2020
787cd87
s/info/debug
suhrawardi Aug 24, 2020
df46d98
Not None check
suhrawardi Aug 24, 2020
e775774
Flush metadata cache
suhrawardi Nov 23, 2020
ff71e10
Flush is a class method
suhrawardi Nov 23, 2020
5aff686
Added persisted_id
suhrawardi Jan 11, 2021
88dc3de
Also resetting persisted_id
suhrawardi Jan 11, 2021
26daf04
Fixing a memory leak
suhrawardi Feb 16, 2021
ad92cbd
Closing response on failure
suhrawardi Feb 22, 2021
306a1c0
even better response closing
suhrawardi Feb 22, 2021
c8f308b
Even more response closing forced
suhrawardi Feb 22, 2021
3a4553b
Made it an OrderedDict
suhrawardi Apr 7, 2021
38ee446
Don't pop the FK values
suhrawardi Apr 7, 2021
112ce7f
Don't need to log this
suhrawardi Apr 7, 2021
00aedce
Bugfix
suhrawardi May 3, 2021
4018df0
State improved
suhrawardi May 3, 2021
aa0a00c
Added .github unittest action
suhrawardi May 5, 2021
8765f48
Improved the State
suhrawardi May 5, 2021
c14b5f5
Fix an OData state thingie
suhrawardi May 5, 2021
f7b1949
Also log response for debug level
suhrawardi Oct 11, 2021
109e902
With full metadata
suhrawardi Oct 11, 2021
f4ba4c8
metadata values
suhrawardi Oct 12, 2021
74b1520
Graceful
suhrawardi Oct 14, 2021
839dc1e
gracefull
suhrawardi Oct 14, 2021
cd199b1
urling
suhrawardi Oct 25, 2021
49a1990
url
suhrawardi Oct 25, 2021
293bfb2
url
suhrawardi Oct 25, 2021
b5a366b
navigation
suhrawardi Oct 25, 2021
bc6fdc1
urling
suhrawardi Oct 26, 2021
d2986a5
urling
suhrawardi Oct 26, 2021
2c77e36
urling
suhrawardi Oct 26, 2021
620c93d
urling
suhrawardi Oct 26, 2021
8cb30c2
urling
suhrawardi Oct 26, 2021
3c5796d
Bugfix
suhrawardi Oct 28, 2021
b45f0f1
Bugfix
suhrawardi Oct 28, 2021
aa30eaf
Bugfix
suhrawardi Oct 28, 2021
f47ce29
bugfix
suhrawardi Oct 28, 2021
b84e5d6
bugfix
suhrawardi Oct 28, 2021
58da7bd
Scoped inserts
suhrawardi Oct 28, 2021
4ed11f2
Fix
suhrawardi Oct 28, 2021
f6f1e74
Bugfix
suhrawardi Nov 8, 2021
b9d52ac
fix
suhrawardi Nov 8, 2021
80696eb
fix
suhrawardi Nov 8, 2021
8a8f883
Fixing relations
suhrawardi Dec 15, 2021
e5689e4
This might break things?
suhrawardi Jan 12, 2022
6bbb8bc
Bugfix
suhrawardi May 18, 2022
b79a43e
Bugfix
suhrawardi May 18, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
url
suhrawardi committed Oct 25, 2021
commit 293bfb233c0e61e709e1e49e1d6d7683f3b0113d
2 changes: 1 addition & 1 deletion odata/navproperty.py
Original file line number Diff line number Diff line change
@@ -119,6 +119,6 @@ def __get__(self, instance, owner):
cache['single'] = self.instances_from_data(raw_data)
else:
cache['single'] = None
if cache['single']
if cache['single']:
cache['single'].__odata__.set_scope(url)
return cache['single']