Page MenuHomeDevCentral

Allow to import application as module
ClosedPublic

Authored by dereckson on Oct 11 2020, 19:17.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 10, 16:23
Unknown Object (File)
Thu, Jul 10, 14:56
Unknown Object (File)
Wed, Jul 9, 12:35
Unknown Object (File)
Wed, Jul 9, 04:20
Unknown Object (File)
Sat, Jun 28, 12:20
Unknown Object (File)
Jun 19 2025, 14:27
Unknown Object (File)
Jun 17 2025, 18:06
Unknown Object (File)
Jun 15 2025, 17:15
Subscribers
None

Details

Summary

This is useful to debug the application or instrument it.

Test Plan
from importlib.machinery import SourceFileLoader

notifications = SourceFileLoader('notifications', '/usr/local/bin/notifications').load_module()

Diff Detail

Repository
rNOTIFCLI Notifications center CLI client
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Oct 11 2020, 19:17