# -*- coding: utf-8 -*-
"""
COPYRIGHT (C) 2020-2023 NEW ENTITY OPERATIONS INC. ALL RIGHTS RESERVED
INSTANCE: CORE
MODIFIED: 2023/05/09
OVERVIEW:
CORE allows you to work with core.es or CONSTRUCTED_core.es
Usage: Auto wipe various essential or official instances (while uncommenting
the RUNNERS)
run-> python CORE.py
Usage 2: Keep MANIPULATE_OFFICIAL_ENTRY.reseed_* commented and let core_interface
handle reading/writing to the file, and let operations or LOGIC/* initiate
the call
Usage 3: When extending system-level linkage, set the middle-layer to the
interface for any official phase in the system
Other programs will be expected to handle the output
"""
__version__ = "0.0.8"
__author__ = "Ryan McKenna"
__copyright__ = "Copyright (C) 2020-2023 New Entity Operations Inc."
__credits__ = [
"Ryan McKenna",
"New Entity Operations Inc.", "New Entity Operations, LLC"]
__email__ = "Operator@NewEntityOperations.com"
__license__ = "New Entity License"
__maintainer__ = "Ryan McKenna"
__status__ = "Production"
## System Linkage
# default: none
from core_interface import (ReseedValues as RVCORE)
class MANIPULATE_OFFICIAL_ENTRY:
def reseed_server():
"""
Reseed the server phase by reestablishing 'core.es' with the default container
"""
## use RVCORE to reseed the server phase
RVCORE.server()
def reseed_figment():
"""
Reseed the figment phase by reestablishing 'CONSTRUCTED_core.es' with the
default container
Accessed by: TRINE.py
You can configure values in _interface to require various privileges.
When you need to wipe your collective global 'SERV_' record,
check the instance policy first.
"""
## use RVCORE to reseed the figment phase
RVCORE.figment()
## Default Startup Runner: Default Actions: Off
# MANIPULATE_OFFICIAL_ENTRY.reseed_figment()
# MANIPULATE_OFFICIAL_ENTRY.reseed_server()