GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — allure-python/allure-python-commons/src/_core.py at master · TheAutomationWizard/allure-python

Expand file tree

/

_core.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
25 lines (18 loc) · 813 Bytes
/

_core.py

Copy path

File metadata and controls

25 lines (18 loc) · 813 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import threading
from six import with_metaclass
from pluggy import PluginManager
from allure_commons import _hooks
class MetaPluginManager(type):
_storage = threading.local()
@staticmethod
def get_plugin_manager():
if not hasattr(MetaPluginManager._storage, 'plugin_manager'):
MetaPluginManager._storage.plugin_manager = PluginManager('allure')
MetaPluginManager._storage.plugin_manager.add_hookspecs(_hooks.AllureUserHooks)
MetaPluginManager._storage.plugin_manager.add_hookspecs(_hooks.AllureDeveloperHooks)
return MetaPluginManager._storage.plugin_manager
def __getattr__(cls, attr):
pm = MetaPluginManager.get_plugin_manager()
return getattr(pm, attr)
class plugin_manager(with_metaclass(MetaPluginManager)):
pass
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.