Server IP : 192.158.238.246 / Your IP : 3.147.44.106 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/7779/root/opt/alt/python37/lib/python3.7/site-packages/ssa/__pycache__/ |
Upload File : |
B V�dZ � @ s� d dl Z d dlZd dlZd dlmZmZ d dlmZmZmZm Z m Z mZmZm Z d dlmZ d dlmZ d dlmZ dZdZe� ZG d d � d e�Zdd� Zd d� Zdd� Zdd� Zdd� Zddd�Zejed�dd��ZdS )� N)�datetime� timedelta)�Column�Boolean�DateTime�Integer�String� create_engine�event�func)�declarative_base)� Inspector)�Sessionz/var/lve/ssa.db� c @ s� e Zd ZdZdZeedd�Zeeddd�Z eeddd�Z eedd�Zeedd�Zee dd�Zee dd�Zeedd�Zeedd�Zee dd�Zeedd�e�� d �Zeedd�e�� e�� d �ZdS )� RequestResultay Describes processed request stored in database file. E.g. { "timestamp": "1650008727", "url": "http://mydomain.com/index.php", "duration": 162077, "hitting_limits": false, "throttled_time": 0, "io_throttled_time": 0, "wordpress": true } Note: created_at, updated_at is saved in local TZ format Z scrape_resultT)Zprimary_keyF)�index�nullable)r )�timezone)�server_default)Zonupdater N)�__name__� __module__�__qualname__�__doc__Z __tablename__r r �idr �domain�path� timestamp�durationr Zis_slow_requestZhitting_limitsZthrottled_timeZio_throttled_timeZ wordpressr r �now� created_atZ updated_at� r r �7/opt/alt/python37/lib/python3.7/site-packages/ssa/db.pyr "