Skip to content

Commit

Permalink
ENH BCDA-APS#841 op cit
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Mar 12, 2023
1 parent a5ede1f commit dc944da
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions apstools/utils/_core.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
from enum import Enum

import databroker._drivers.mongo_normalized
import databroker._drivers.msgpack
import intake
import pandas
import pyRestTable

FIRST_DATA = "1995-01-01"
LAST_DATA = "2100-12-31"
Expand All @@ -18,6 +22,21 @@
)
MAX_EPICS_STRINGOUT_LENGTH = 40


class PRT_Table(pyRestTable.Table):
"""Change the default from pyRestTable."""

def __repr__(self):
return str(self)


class TableStyle(Enum):
"""Describes what table style to use."""

pandas = pandas.DataFrame
pyRestTable = PRT_Table # pyRestTable.Table


# -----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: jemian@anl.gov
Expand Down

0 comments on commit dc944da

Please sign in to comment.