pygraphistry
pygraphistry copied to clipboard
[BUG] Personal org should not propagate to uploads
When register(api=3, username=..., password=...), with no org_name, the client<>server action gets confused on legacy pre-org servers
- [x] the client should NOT send org_name to the server, e.g., it should NOT send
org_name: Noneororg_name: <personalorg><-- this seems to currently be confusing existing clients <> old servers- [x] arrow_uploader should record
Nonefor the org_name instead of not recording it: https://github.com/graphistry/pygraphistry/blob/322be2d30784842571cf9f087193d26c1e1633da/graphistry/arrow_uploader.py#L163 - [x] api calls should drop key
org_namewhen it isNone, e.g., https://github.com/graphistry/pygraphistry/blob/322be2d30784842571cf9f087193d26c1e1633da/graphistry/arrow_uploader.py#L173 - [x] audit:
arrow_uploader,ArrowFileUploader(viaas_files=True, called byplot()->arrow_uploader), login
- [x] arrow_uploader should record
- [x] instead, the server should autofill
org = <users's default org><--- File/Dataset via AccessControlModel seems to doorg = self.author.organization, which is personal org, not default organization
pygraphistry code fixed, push as fix_org_name_old_server last item which is for nexus server, fixed in org_sso_k8s_new