jhpyle / docassemble

A free, open-source expert system for guided interviews and document assembly, based on Python, YAML, and Markdown.
https://docassemble.org
MIT License
768 stars 252 forks source link

Get Session ID #785

Closed haseebmukhtar closed 2 months ago

haseebmukhtar commented 2 months ago

How to get current session ID. Documentation saying to use docassemble.base.functions.get_uid() but its not working.

jhpyle commented 2 months ago

You can run current_context().session. See: https://docassemble.org/docs/functions.html#current_context

haseebmukhtar commented 2 months ago

Thanks